From 31aa9b09a88ed4b145c681760e16a3172022152d Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 18 Dec 2022 18:46:44 +0200 Subject: [PATCH] relax ratelimit for badge_grant --- files/routes/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/admin.py b/files/routes/admin.py index 1f0d1d548..dc122e6ea 100644 --- a/files/routes/admin.py +++ b/files/routes/admin.py @@ -522,7 +522,7 @@ def badge_grant_get(v): @app.post("/admin/badge_grant") @feature_required('BADGES') -@limiter.limit(DEFAULT_RATELIMIT_SLOWER) +@limiter.limit("500/day") #temporary @admin_level_required(PERMS['USER_BADGES']) def badge_grant_post(v): badges = admin_badges_grantable_list(v)