master
Aevann1 2021-12-13 03:23:29 +02:00
parent 3d1316b169
commit 77fdfefdf7
1 changed files with 2 additions and 2 deletions

View File

@ -987,7 +987,7 @@ def api_sticky_post(post_id, v):
@app.post("/ban_comment/<c_id>")
@limiter.limit("1/second")
@admin_level_required(1)
@admin_level_required(2)
@validate_formkey
def api_ban_comment(c_id, v):
@ -1012,7 +1012,7 @@ def api_ban_comment(c_id, v):
@app.post("/unban_comment/<c_id>")
@limiter.limit("1/second")
@admin_level_required(1)
@admin_level_required(2)
@validate_formkey
def api_unban_comment(c_id, v):