From ce7ae3dbd39ca306354434ed4c9e3729316643a7 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 11 Apr 2022 13:25:58 +0200 Subject: [PATCH] fds --- files/routes/static.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/static.py b/files/routes/static.py index 04b58d575..6e6c8990c 100644 --- a/files/routes/static.py +++ b/files/routes/static.py @@ -315,7 +315,7 @@ def submit_contact(v): g.db.flush() new_comment.top_comment_id = new_comment.id - for admin in g.db.query(User).filter(User.admin_level > 1).all(): + for admin in g.db.query(User).filter(User.admin_level > 2).all(): notif = Notification(comment_id=new_comment.id, user_id=admin.id) g.db.add(notif)