remove annoying ratelimit in shop

master
Aevann 2024-04-16 16:58:06 +02:00
parent 81d93759e9
commit 2380f2c467
1 changed files with 0 additions and 2 deletions

View File

@ -116,8 +116,6 @@ def buy_award(v, kind, AWARDS):
@app.post("/buy/<kind>")
@limiter.limit('1/second', scope=rpath)
@limiter.limit('1/second', scope=rpath, key_func=get_ID)
@limiter.limit("100/minute;200/hour;1000/day", deduct_when=lambda response: response.status_code < 400)
@limiter.limit("100/minute;200/hour;1000/day", deduct_when=lambda response: response.status_code < 400, key_func=get_ID)
@auth_required