diff --git a/files/routes/hats.py b/files/routes/hats.py index a78d445e2..be8cc0453 100644 --- a/files/routes/hats.py +++ b/files/routes/hats.py @@ -34,6 +34,7 @@ def hats(v): @app.post("/buy_hat/") @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!")