diff --git a/files/routes/notifications.py b/files/routes/notifications.py index bdfd11c59..148881c8e 100644 --- a/files/routes/notifications.py +++ b/files/routes/notifications.py @@ -410,6 +410,8 @@ def notifications(v): all_cids = set(all_cids) output = get_comments_v_properties(v, None, Comment.id.in_(all_cids))[1] + g.db.flush() + if v.client: return {"data":[x.json for x in listing]} return render_template("notifications.html",