Fix api call to airport lookup
This commit is contained in:
parent
08d3578d38
commit
36063e2ca6
@ -54,7 +54,7 @@ function setEditable() {
|
|||||||
function phpvms_vacentral_airport_lookup(icao, callback) {
|
function phpvms_vacentral_airport_lookup(icao, callback) {
|
||||||
let params = {
|
let params = {
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
url: '/api/airports/' + icao + '/lookup',
|
url: '{{ url('/api/airports/') }}' + icao + '/lookup',
|
||||||
};
|
};
|
||||||
|
|
||||||
axios(params).then(response => {
|
axios(params).then(response => {
|
||||||
|
Loading…
Reference in New Issue
Block a user