forked from rDrama/rDrama
1
0
Fork 0

hats: massively raise ratelimit

master
justcool393 2022-10-21 22:31:58 -05:00
parent 411a92f8f4
commit 62e9ef7009
1 changed files with 1 additions and 0 deletions

View File

@ -34,6 +34,7 @@ def hats(v):
@app.post("/buy_hat/<hat_id>")
@auth_required
@feature_required('HATS')
@limiter.limit('100/minute;1000/day')
def buy_hat(v, hat_id):
try: hat_id = int(hat_id)
except: abort(404, "Hat not found!")