fdfd
This commit is contained in:
parent
31be3f8c94
commit
2b27142345
1 changed files with 1 additions and 1 deletions
|
@ -465,7 +465,7 @@ def api_comment(v):
|
||||||
continue
|
continue
|
||||||
if user.id != v.id:
|
if user.id != v.id:
|
||||||
notify_users.add(user.id)
|
notify_users.add(user.id)
|
||||||
|
if v.id == 1: print(notify_users)
|
||||||
for x in notify_users:
|
for x in notify_users:
|
||||||
n = Notification(comment_id=c.id, user_id=x)
|
n = Notification(comment_id=c.id, user_id=x)
|
||||||
g.db.add(n)
|
g.db.add(n)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue