master
Aevann1 2021-12-27 05:32:35 +02:00
parent 319c9550c3
commit 852b164b3c
1 changed files with 2 additions and 1 deletions

View File

@ -152,7 +152,7 @@ def buy(v, award):
return {"message": "Award bought!"}
@app.get("/post/<pid>/awards")
@app.post("/post/<pid>/awards")
@limiter.limit("1/second")
@auth_required
@ -324,6 +324,7 @@ def award_post(pid, v):
else: return redirect("/")
@app.get("/comment/<cid>/awards")
@app.post("/comment/<cid>/awards")
@limiter.limit("1/second")
@auth_required