From 15d67f266d64dfbc9b2da85c14260f5a3fc8fcbc Mon Sep 17 00:00:00 2001 From: atrc445 Date: Thu, 16 Sep 2021 22:29:40 +0200 Subject: [PATCH] fix (some) notifications --- files/helpers/alerts.py | 1 + 1 file changed, 1 insertion(+) diff --git a/files/helpers/alerts.py b/files/helpers/alerts.py index 3ef068440..3cc117915 100644 --- a/files/helpers/alerts.py +++ b/files/helpers/alerts.py @@ -41,6 +41,7 @@ def send_notification(vid, user, text, db=None): notif = Notification(comment_id=new_comment.id, user_id=uid) db.add(notif) + db.commit() def send_follow_notif(vid, user, text):