fix 500 error

pull/134/head
Aevann 2023-02-26 13:22:16 +02:00
parent 825cee14eb
commit 615d71dda0
1 changed files with 1 additions and 1 deletions

View File

@ -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()