Merge branch 'master' of https://github.com/Aevann1/Drama into snow

This commit is contained in:
Aevann1 2021-12-13 23:57:53 +02:00
commit 922f96afff
13 changed files with 32 additions and 33 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):