Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] API Has not been updated for a month #336

Open
Vitomilix opened this issue May 20, 2020 · 3 comments
Open

[BUG] API Has not been updated for a month #336

Vitomilix opened this issue May 20, 2020 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@Vitomilix
Copy link

When trying the API, the data received is severely out of date

To Reproduce
Use any of the API endpoints

Expected behavior
When using the /latest-update endpoint, the Response shows a timestamp with the date as being the 24th of April
When having a look at the stats for Gauteng, one sees that Gauteng has about 600 cases when as of 20th of May the actual number is over 2000

@Vitomilix Vitomilix added the bug Something isn't working label May 20, 2020
@vukosim
Copy link
Member

vukosim commented May 20, 2020

@vutlhari please take a look.

@vutlhari
Copy link
Contributor

@Vitomilix the value in the /latest-update is hardcoded. It was part of something @Remwrath was investigating.

@Vitomilix which endpoint are you calling what is returning 600 cases?
I've just tested the API https://covid-za-api.herokuapp.com/cases/timeline/provincial/cumulative and it's returning 2361 as at 19-05-2020

Screenshot 2020-05-20 at 14 33 18

@vukosim
Copy link
Member

vukosim commented May 25, 2020

@Vitomilix Are you okay with this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants