Skip to content

Commit

Permalink
Don't count World as an affected country
Browse files Browse the repository at this point in the history
  • Loading branch information
nibble-4bits committed Apr 6, 2020
1 parent 08a2ac2 commit 9cce5bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/api_worldometers.js
Expand Up @@ -14,7 +14,7 @@ const getAllData = async (key) => {
const worldData = countries[0];
delete worldData.country;
delete worldData.countryInfo;
worldData.affectedCountries = countries.length;
worldData.affectedCountries = countries.length - 1;
return worldData;
};

Expand Down

0 comments on commit 9cce5bf

Please sign in to comment.