From 7337ee4484cb9b91fa5f6fc20547e76c9f2ff1d2 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 17 Dec 2021 20:02:20 +0200 Subject: [PATCH] fdsfsd --- files/routes/admin.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/files/routes/admin.py b/files/routes/admin.py index 04940cd8c0..5d222ad504 100644 --- a/files/routes/admin.py +++ b/files/routes/admin.py @@ -21,15 +21,6 @@ SITE_NAME = environ.get("SITE_NAME", "").strip() if SITE_NAME == 'PCM': cc = "splash mountain" else: cc = "country club" -@app.get("/notify") -@admin_level_required(3) -def notify(v): - users = (x[0] for x in g.db.query(User.id).all()) - for u in users: - send_notification(u, f"IMPORTANT: https://rdrama.net/post/30782/psa-make-sure-you-know-your") - g.db.commit() - return "sex" - @app.get("/distribute/") @admin_level_required(3) def distribute(v, cid):