forked from rDrama/rDrama
1
0
Fork 0

Fix 62ffe2d628: returning document, must send 200.

master
Snakes 2022-11-20 20:11:17 -05:00
parent 62ffe2d628
commit 220409c8fb
Signed by: Snakes
GPG Key ID: E745A82778055C7E
2 changed files with 3 additions and 3 deletions

View File

@ -49,7 +49,7 @@ def vote_option(option_id, v):
elif existing and not option.exclusive:
g.db.delete(existing)
return {"message": "Bet successful!"}, 204
return {"message": "Bet successful!"}, 200
@app.get("/votes/post/option/<option_id>")
@auth_required