🦠Track the Coronavirus disease (COVID-19) in the command line. Worldwide for all countries, for one country, and the US States. Fast response time (< 100ms). https://x.com/MrAhmadAwais
In the getCountry.js file remove the unwanted countryInfo property causing the issue #27 from the api response data by destructuring the response api.data object into countryInfo and restData (representing the rest of the object data minus countryInfo), then passing the filtered restData to the let data = Object.values(restData) line.
[X] Bug fix (non-breaking change which fixes an issue)
Fixes #27
Description
In the
getCountry.js
file remove the unwantedcountryInfo
property causing the issue #27 from the api response data by destructuring the responseapi.data
object intocountryInfo
andrestData
(representing the rest of the object data minus countryInfo), then passing the filteredrestData
to thelet data = Object.values(restData)
line.