DoSomething / gladiator

:guardsman: The DoSomething.org competitions platform.
2 stars 0 forks source link

Returns an empty array if the user does not exist in gladiator #404

Closed ScottPaillant closed 7 years ago

ScottPaillant commented 7 years ago

What's this PR do?

Added logic that if a user is not found in gladiator, return an empty array

How should this be manually tested?

Issue a GET request to to api/v1/users with parameters id , campaign_id, and campaign_run_id where id is not a user that exists in gladiator. You should get an empty array back.