default response code is 200, dont need to specify it
parent
0c9ed95c55
commit
e82d92d844
|
@ -49,7 +49,7 @@ def vote_option(option_id, v):
|
|||
elif existing and not option.exclusive:
|
||||
g.db.delete(existing)
|
||||
|
||||
return {"message": "Bet successful!"}, 200
|
||||
return {"message": "Bet successful!"}
|
||||
|
||||
@app.get("/votes/post/option/<option_id>")
|
||||
@auth_required
|
||||
|
|
Loading…
Reference in New Issue