update composer
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user