brighthive / master-client-index

BrightHive's Master Client Index framework.
MIT License
2 stars 2 forks source link

task: Return 200 when users table does not have records #28

Closed reginafcompton closed 4 years ago

reginafcompton commented 4 years ago

Closes #27

This PR adjusts the response status for the users endpoint: if the users resource does not have records, then it should return a 200, not a 404.

Why? Mostly, because the users endpoint should behave like the other endpoints, all of which return an empty list and a 200 status code, e.g., `education_levels.