Open raintonr opened 1 year ago
Looks like the response format could have changed slightly.
Fixed if one changes this...
const locationdata = JSON.parse(response.data.split('\n').slice(1, -1).join(''));
... to this:
const locationdata = JSON.parse(response.data.split('\n')[1]);
Looks like the response format could have changed slightly.
Fixed if one changes this...
... to this: