This commit is contained in:
Aevann1 2021-12-17 20:12:48 +02:00
parent 31fe4f857a
commit 7499cf434e

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)