default response code is 200, dont need to specify it

pull/2/head
Aevann1 2022-11-21 03:13:31 +02:00
parent 0c9ed95c55
commit e82d92d844
1 changed files with 1 additions and 1 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!"}, 200
return {"message": "Bet successful!"}
@app.get("/votes/post/option/<option_id>")
@auth_required