This commit is contained in:
Aevann1 2021-09-16 19:40:52 +02:00
parent 120fe50811
commit 4fb2283352

View file

@ -42,7 +42,7 @@ def notifications(v):
notifs.append({'id': x.id, 'read': True})
comments.append(c)
g.db.bulk_update_mappings(User, notifs)
g.db.bulk_update_mappings(Notification, notifs)
next_exists = (len(comments) > 25)
listing = comments[:25]
else: