relax ratelimit for badge_grant

master
Aevann1 2022-12-18 18:46:44 +02:00
parent 6cde4a040c
commit 31aa9b09a8
1 changed files with 1 additions and 1 deletions

View File

@ -522,7 +522,7 @@ def badge_grant_get(v):
@app.post("/admin/badge_grant") @app.post("/admin/badge_grant")
@feature_required('BADGES') @feature_required('BADGES')
@limiter.limit(DEFAULT_RATELIMIT_SLOWER) @limiter.limit("500/day") #temporary
@admin_level_required(PERMS['USER_BADGES']) @admin_level_required(PERMS['USER_BADGES'])
def badge_grant_post(v): def badge_grant_post(v):
badges = admin_badges_grantable_list(v) badges = admin_badges_grantable_list(v)