diff --git a/app.js b/app.js index 3d8e99c..c5b1557 100644 --- a/app.js +++ b/app.js @@ -42,8 +42,7 @@ const pollVatsim = async () => { console.log("Fetching data from VATSIM."); const {vatsimdata} = await axios.get('https://data.vatsim.net/v3/vatsim-data.json'); - const data = vatsimdata.data.toString('utf-8'); - + const data = vatsimdata.toString('utf-8'); // PILOTS const dataPilots = [];