Skip to content

Commit

Permalink
Return json data in 400 debug.
Browse files Browse the repository at this point in the history
  • Loading branch information
scossu committed May 8, 2024
1 parent 235100f commit 3c74ad7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scriptshifter/rest_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def handle_400(e):
if logging.DEBUG >= logging.root.level:
body = {
"debug": {
"form_data": request.form,
"form_data": request.json or request.form,
}
}
else:
Expand Down

0 comments on commit 3c74ad7

Please sign in to comment.