Skip to content
Snippets Groups Projects
Commit 6fc3263e authored by Sebastian Ziebell's avatar Sebastian Ziebell
Browse files

API: extracted helper method to provide 400 bad request error with description

Extracted a method for 400 error (Bad request) and adjusted code accordingly. The name of
the missing attribute is used to show which one was missing from the request. It is used to
give an appropriate message in the json response.
parent 54ab9bb6
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment