From d0f2db54d0ca6f3c04c1920693e7287e6bdda3ab Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 16 Sep 2021 19:38:11 +0200 Subject: [PATCH] fd --- files/routes/front.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/front.py b/files/routes/front.py index c4b0e1df4..b2c1ba2eb 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -44,7 +44,7 @@ def notifications(v): g.db.add(x) comments.append(c) - session.bulk_update_mappings(User, notifs) + g.db.bulk_update_mappings(User, notifs) next_exists = (len(comments) > 25) listing = comments[:25] else: