Skip to content

Commit

Permalink
Fix response for delete requests
Browse files Browse the repository at this point in the history
  • Loading branch information
talavis committed Nov 24, 2022
1 parent a4af3bf commit 2e528f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion form_manager/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def delete_form(identifier: str):
flask.abort(code=403)
flask.g.db["forms"].delete_one(entry)
flask.g.db["submissions"].delete_many({"identifier": entry["identifier"]})
return flask.Submission(code=200)
return ""


@csrf.exempt
Expand Down

0 comments on commit 2e528f5

Please sign in to comment.