forked from rDrama/rDrama
Fix 62ffe2d628: returning document, must send 200.
parent
62ffe2d628
commit
220409c8fb
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue