fix indentation bug

This commit is contained in:
Aaron 2019-02-09 22:03:55 -06:00
parent 6a0961a015
commit 5ec50718dd
No known key found for this signature in database
GPG Key ID: 3B5B7597106F0A0E
1 changed files with 2 additions and 1 deletions

View File

@ -41,6 +41,7 @@ def accept_arbiter(code, proposal_id):
if ap.proposal_id == int(proposal_id):
ap.accept_nomination(ev.user.id)
return {"message": "You are now the Arbiter"}, 200
return {"message": "No nomination for this code"}, 404
return {"message": "No nomination for this code"}, 404
return {"message": "Invalid email code"}, 400