From 615d71dda0de5aff20d5bfc67b77a20f1f41d948 Mon Sep 17 00:00:00 2001 From: Aevann Date: Sun, 26 Feb 2023 13:22:16 +0200 Subject: [PATCH] fix 500 error --- files/helpers/alerts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/helpers/alerts.py b/files/helpers/alerts.py index e1e6ac909..269e6fe68 100644 --- a/files/helpers/alerts.py +++ b/files/helpers/alerts.py @@ -103,7 +103,7 @@ def notif_comment2(p): return create_comment(text_html), text -def add_notif(cid, uid, text, pushnotif_url): +def add_notif(cid, uid, text, pushnotif_url=''): if uid in bots: return existing = g.db.query(Notification.user_id).filter_by(comment_id=cid, user_id=uid).one_or_none()