This commit is contained in:
Aevann1 2021-08-22 22:31:12 +02:00
parent fec6a7ada8
commit f0a9947e00
6 changed files with 17 additions and 18 deletions

View file

@ -55,7 +55,7 @@ def admin_vote_info_get(v):
@app.post("/vote/post/<post_id>/<new>")
@is_not_banned
@auth_required
@validate_formkey
def api_vote_post(post_id, new, v):
@ -101,7 +101,7 @@ def api_vote_post(post_id, new, v):
return "", 204
@app.post("/vote/comment/<comment_id>/<new>")
@is_not_banned
@auth_required
@validate_formkey
def api_vote_comment(comment_id, new, v):