-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Fiddled around with some pointer stuff - Fixed a typo that made the handleError function return the wrong error for conflict errors - Fixed a typo that made the test for conflict errors use a mock not found response - Gave not found error responses a payload (and refactored out the identical payloads used in the other error responses) - Removed check for payload of 500 response. I'm not 100% sure if this is right. I see some of our handlers return payloads for 500s, and some that do not.
- Loading branch information
Showing
2 changed files
with
13 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters