From e832be4c18780e47d790c3096f204974ad1b0ee5 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 19 Dec 2022 15:55:39 +0200 Subject: [PATCH] restore badge rate limit --- 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 19bd7bdd5..45f29453b 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("700/day") #temporary +@limiter.limit(DEFAULT_RATELIMIT_SLOWER) @admin_level_required(PERMS['USER_BADGES']) def badge_grant_post(v): badges = admin_badges_grantable_list(v)