fix: correct error code resp
1 unresolved thread
+ 1
- 0
marked this merge request as draft
marked this merge request as ready
Looks good! Small comment: might be a thought to update the rest of the exception error messages for the other endpoints to use werkzeug
exceptions for consistency.
approved this merge request
changed milestone to %SoAR-2023W09
added Partner::NOC Status::In Review labels
37 | 40 | return client, 204 |
38 | 41 | |
39 | 42 | def put(self, client_id): |
40 | args = request.get_json() | |
43 | try: | |
44 | args = request.get_json() | |
45 | except BadRequest: | |
46 | return "POSTed body is invalid JSON", 400 | |
Please register or sign in to reply |
merged
mentioned in commit c6a34801
Files with large changes are collapsed by default.