From 5caecf9c5f872a69c47413785d098f8de83adba1 Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Wed, 11 Jul 2018 08:07:58 -0500 Subject: [PATCH] update vacentral lib to fix airport lookup --- composer.json | 2 +- composer.lock | 14 +++++++------- resources/views/admin/airports/script.blade.php | 3 --- 3 files changed, 8 insertions(+), 11 deletions(-) diff --git a/composer.json b/composer.json index 505b82f0..b5c882c2 100755 --- a/composer.json +++ b/composer.json @@ -27,7 +27,7 @@ "jmikola/geojson": "1.0.x", "laracasts/flash": "3.0.x", "arrilot/laravel-widgets": "3.9.x", - "nabeel/vacentral": "1.0.x", + "nabeel/vacentral": "^1.0", "league/iso3166": "2.1.x", "theiconic/php-ga-measurement-protocol": "2.7.x", "joshbrw/laravel-module-installer": "0.1.x", diff --git a/composer.lock b/composer.lock index ffda970a..c1c672fd 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "content-hash": "cdbd47e5570d8787f6b54d22950466b7", + "content-hash": "65230ca9de4b86cf542d098549c08f60", "packages": [ { "name": "akaunting/money", @@ -2077,16 +2077,16 @@ }, { "name": "nabeel/vacentral", - "version": "v1.0.0", + "version": "v1.0.1", "source": { "type": "git", "url": "https://github.com/nabeelio/vacentral-library.git", - "reference": "35316106c8840c6ddacadcc0c80fdcc906482242" + "reference": "75dcd840e3d794b3c55c1f97d96f057fd84bf695" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nabeelio/vacentral-library/zipball/35316106c8840c6ddacadcc0c80fdcc906482242", - "reference": "35316106c8840c6ddacadcc0c80fdcc906482242", + "url": "https://api.github.com/repos/nabeelio/vacentral-library/zipball/75dcd840e3d794b3c55c1f97d96f057fd84bf695", + "reference": "75dcd840e3d794b3c55c1f97d96f057fd84bf695", "shasum": "" }, "require": { @@ -2103,11 +2103,11 @@ "VaCentral\\": "src/" } }, - "notification-url": "http://packagist.org/downloads/", + "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], - "time": "2018-02-05T17:20:06+00:00" + "time": "2018-07-11T13:02:24+00:00" }, { "name": "nesbot/carbon", diff --git a/resources/views/admin/airports/script.blade.php b/resources/views/admin/airports/script.blade.php index 6fb84f42..e181aea4 100644 --- a/resources/views/admin/airports/script.blade.php +++ b/resources/views/admin/airports/script.blade.php @@ -61,9 +61,6 @@ function phpvms_vacentral_airport_lookup(icao, callback) { .then(response => { console.log(response); callback(response.data); - }) - .error(err => { - console.log(err); }); }