fix (some) notifications
This commit is contained in:
parent
096a95b7a5
commit
14e771dea3
1 changed files with 1 additions and 0 deletions
|
@ -41,6 +41,7 @@ def send_notification(vid, user, text, db=None):
|
||||||
notif = Notification(comment_id=new_comment.id,
|
notif = Notification(comment_id=new_comment.id,
|
||||||
user_id=uid)
|
user_id=uid)
|
||||||
db.add(notif)
|
db.add(notif)
|
||||||
|
db.commit()
|
||||||
|
|
||||||
|
|
||||||
def send_follow_notif(vid, user, text):
|
def send_follow_notif(vid, user, text):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue