Skip to content

Commit

Permalink
converting to UTF-8
Browse files Browse the repository at this point in the history
  • Loading branch information
tomcoombs2000 committed Mar 29, 2024
1 parent 1608ca5 commit 3946b08
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [];
Expand Down

0 comments on commit 3946b08

Please sign in to comment.