fix: correct error code resp
1 unresolved thread
- Resolved by Trishna Saeharaseelan
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. - Last reply by Trishna Saeharaseelan
changed milestone to %SoAR-2023W09
added Partner::NOC Status::In Review labels
- Last updated by James Kirk
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 changed this line in version 3 of the diff
mentioned in commit c6a34801