From 978c5ede587504a15f6ec0488093c11f622103b0 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 31 Dec 2021 14:56:47 +0200 Subject: [PATCH] dfs --- files/routes/admin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/routes/admin.py b/files/routes/admin.py index 7ea8a5102..287295cac 100644 --- a/files/routes/admin.py +++ b/files/routes/admin.py @@ -182,8 +182,8 @@ def remove_meme_admin(v, username): @app.post("/admin/monthly") -@limiter.limit("1/day") -@admin_level_required(2) +@limiter.limit("2/day") +@admin_level_required(3) @validate_formkey def monthly(v): if 'pcm' in request.host or (SITE_NAME == 'Drama' and v.admin_level > 2) or ('rama' not in request.host and 'pcm' not in request.host):