remove unnecessary body
parent
b3e8563efb
commit
6fcc525772
|
@ -68,7 +68,6 @@ def request_api_keys(v):
|
|||
new_comment = Comment(author_id=AUTOJANNY_ID,
|
||||
parent_submission=None,
|
||||
level=1,
|
||||
body=body,
|
||||
body_html=body_html,
|
||||
sentto=MODMAIL_ID,
|
||||
distinguish_level=6,
|
||||
|
@ -85,7 +84,7 @@ def request_api_keys(v):
|
|||
notif = Notification(comment_id=new_comment.id, user_id=admin_id)
|
||||
g.db.add(notif)
|
||||
|
||||
push_notif(admin_ids, 'New notification', new_comment.body, f'{SITE_FULL}/comment/{new_comment.id}?read=true#context')
|
||||
push_notif(admin_ids, 'New notification', body, f'{SITE_FULL}/comment/{new_comment.id}?read=true#context')
|
||||
|
||||
return redirect('/settings/apps')
|
||||
|
||||
|
|
Loading…
Reference in New Issue