forked from MarseyWorld/MarseyWorld
relax ratelimit for badge_grant
parent
6cde4a040c
commit
31aa9b09a8
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue