update composer

This commit is contained in:
Nabeel Shahzad
2018-07-11 08:06:07 -05:00
parent 81ecb5673f
commit a1868075ed
2 changed files with 153 additions and 132 deletions

View File

@@ -57,9 +57,14 @@ function phpvms_vacentral_airport_lookup(icao, callback) {
url: '{{ url('/api/airports/') }}/' + icao + '/lookup',
};
axios(params).then(response => {
callback(response.data);
});
axios(params)
.then(response => {
console.log(response);
callback(response.data);
})
.error(err => {
console.log(err);
});
}
$(document).ready(function() {