forked from MarseyWorld/MarseyWorld
fdssdf
parent
f1fb13acf5
commit
fb54efa634
|
@ -36,8 +36,7 @@ def notify(v):
|
|||
print('wtf')
|
||||
users = g.db.query(User.id).all()
|
||||
for u in users:
|
||||
print(u[0])
|
||||
notif = Notification(comment_id=new_comment.id, user_id=u)
|
||||
notif = Notification(comment_id=new_comment.id, user_id=u[0])
|
||||
g.db.add(notif)
|
||||
|
||||
g.db.commit()
|
||||
|
|
Loading…
Reference in New Issue