diff --git a/files/routes/front.py b/files/routes/front.py index 6172d1e2f..58e699c43 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -38,7 +38,7 @@ def notifications(v): x.read = True c.unread = True g.db.add(x) - listing.append(c.id) + listing.append(c) g.db.commit()