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

How many disease is there? #63

Open
CYC777 opened this issue Apr 14, 2018 · 2 comments
Open

How many disease is there? #63

CYC777 opened this issue Apr 14, 2018 · 2 comments

Comments

@CYC777
Copy link

CYC777 commented Apr 14, 2018

Hi. After I go to http://localhost:3000/diseases.json, there are only 94 diseases in the json. Is there another way to get the whole disease list or there are only 94 diseases?
Thank you.

@AfolabiOlaoluwa
Copy link
Collaborator

Am not sure if it’s actually more than 94 diseases. That’s a lot anyway. You probably should look into the code.

Am sure the index method in the disease controller has a condition that calls the all method, so I don’t think there is a problem.

However you can look into the code.

@Rajesh-dot
Copy link

In the open link they they provided there are only 47 disease
https://disease-info-api.herokuapp.com/diseases.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants