From f3524470ac2047bfee0a5d4e832f5ad82c318d11 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 22 Aug 2021 18:54:34 +0200 Subject: [PATCH] dfdf --- files/routes/admin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/files/routes/admin.py b/files/routes/admin.py index 51974ca43..c1ba3ff9e 100644 --- a/files/routes/admin.py +++ b/files/routes/admin.py @@ -109,6 +109,7 @@ def admin_home(v): return render_template("admin/admin_home.html", v=v, x=x) @app.post("/admin/monthly") +@limiter.limit("1/week") @admin_level_required(6) def monthly(v): thing = g.db.query(AwardRelationship).order_by(AwardRelationship.id.desc()).first().id