From 991f64ff48c69603a7da183b9ed69ae30d6fab64 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 18 Sep 2021 19:58:30 +0200 Subject: [PATCH] fdfd --- files/routes/admin.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/files/routes/admin.py b/files/routes/admin.py index 3a130657c5..ef812a1eca 100644 --- a/files/routes/admin.py +++ b/files/routes/admin.py @@ -138,7 +138,6 @@ def remove_fake_admin(v, username): @app.get("/admin/monthly") -@limiter.limit("1/day") @admin_level_required(6) def monthly(v): thing = g.db.query(AwardRelationship).order_by(AwardRelationship.id.desc()).first().id @@ -194,9 +193,8 @@ def monthly(v): @app.get("/admin/monthly2") -@limiter.limit("1/day") @admin_level_required(6) -def monthly(v): +def monthly2(v): t = time.time() for u in g.db.query(User).options(lazyload('*')).filter(User.patron > 0).all(): grant_awards = {}