From 3fba55b4aecc36c83a757c97032632670e86905c Mon Sep 17 00:00:00 2001 From: justcool393 Date: Tue, 15 Nov 2022 06:51:48 -0600 Subject: [PATCH] fix unread 500 --- files/routes/notifications.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/notifications.py b/files/routes/notifications.py index 401cab518..8cf88aa8d 100644 --- a/files/routes/notifications.py +++ b/files/routes/notifications.py @@ -38,7 +38,7 @@ def unread(v): n.read = True g.db.add(n) - return {"data":[x[1].json for x in listing]} + return {"data":[x[1].json() for x in listing]} @app.get("/notifications/modmail")