master
Aevann1 2021-12-17 20:12:48 +02:00
parent 6bc1122ad8
commit c354bee2f1
1 changed files with 1 additions and 0 deletions

View File

@ -36,6 +36,7 @@ def notify(v):
users = (x[0] for x in g.db.query(User.id).all())
for u in users:
print(u)
notif = Notification(comment_id=new_comment.id, user_id=u)
g.db.add(notif)