increase approve hat ratelimit per minute from 30 to 120

master
Aevann1 2022-11-21 03:18:02 +02:00
parent e82d92d844
commit cb2fd8e43f
1 changed files with 1 additions and 0 deletions

View File

@ -264,6 +264,7 @@ def submit_hat(v):
@app.post("/admin/approve/hat/<name>")
@limiter.limit("3/second;120/minute;200/hour;1000/day")
@admin_level_required(PERMS['MODERATE_PENDING_SUBMITTED_HATS'])
def approve_hat(v, name):
hat = verify_permissions_and_get_asset(HatDef, "hat", v, name, False)