diff --git a/files/routes/users.py b/files/routes/users.py index 589aa2c192..745b6fd832 100644 --- a/files/routes/users.py +++ b/files/routes/users.py @@ -199,7 +199,7 @@ def messagereply(v): g.db.add(new_aux) notif = Notification(comment_id=new_comment.id, user_id=user) g.db.add(notif) - + g.db.commit() cache.delete_memoized(User.notification_messages, user) return jsonify({"html": render_template("comments.html",