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

Improve Error Message #278

Open
sibsmc opened this issue May 30, 2020 · 0 comments
Open

Improve Error Message #278

sibsmc opened this issue May 30, 2020 · 0 comments
Labels
backend Issue for backend team

Comments

@sibsmc
Copy link
Collaborator

sibsmc commented May 30, 2020

When calling '/api/v1/api_users/{api_user_id}/wishes/{id}' with an invalid :id I expect the following error

/Couldn't find Wish with 'id'=#{id}/

However error produced is:
"Couldn't find Wish with [WHERE "wishes"."api_user_id" = ? AND "wishes"."id" = ?]"

Need to fix this. Tested in spec/requests/api/v1/wishes_spec.rb

@sibsmc sibsmc added the backend Issue for backend team label May 30, 2020
@sibsmc sibsmc mentioned this issue May 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Issue for backend team
Projects
None yet
Development

No branches or pull requests

1 participant