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):