forked from MarseyWorld/MarseyWorld
exact same as last commit
parent
f69ba41ca8
commit
36612a3045
|
@ -308,7 +308,7 @@ def notifications(v:User):
|
|||
Comment.is_banned != False,
|
||||
Comment.deleted_utc != 0,
|
||||
)
|
||||
).options(load_only(Notification.id)).all()
|
||||
).options(load_only(Notification.comment_id)).all()
|
||||
for n in unread_and_inaccessible:
|
||||
n.read = True
|
||||
g.db.add(n)
|
||||
|
|
Loading…
Reference in New Issue