fdfd
This commit is contained in:
parent
6f581c8199
commit
02c939685d
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ def messagereply(v):
|
||||||
g.db.add(new_aux)
|
g.db.add(new_aux)
|
||||||
notif = Notification(comment_id=new_comment.id, user_id=user)
|
notif = Notification(comment_id=new_comment.id, user_id=user)
|
||||||
g.db.add(notif)
|
g.db.add(notif)
|
||||||
|
g.db.commit()
|
||||||
cache.delete_memoized(User.notification_messages, user)
|
cache.delete_memoized(User.notification_messages, user)
|
||||||
|
|
||||||
return jsonify({"html": render_template("comments.html",
|
return jsonify({"html": render_template("comments.html",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue