From 858592965fd30b08cd1d50fd2a500971afe4bd22 Mon Sep 17 00:00:00 2001 From: Aevann Date: Fri, 24 Feb 2023 08:48:30 +0200 Subject: [PATCH] fix 500 errors --- files/helpers/actions.py | 2 +- files/routes/oauth.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/files/helpers/actions.py b/files/helpers/actions.py index 8b2d7940b..4d938dd59 100644 --- a/files/helpers/actions.py +++ b/files/helpers/actions.py @@ -11,7 +11,7 @@ from files.classes.mod_logs import ModAction from files.classes.notifications import Notification from files.classes.polls import CommentOption, SubmissionOption -from files.helpers.alerts import send_repeatable_notification +from files.helpers.alerts import send_repeatable_notification, push_notif from files.helpers.config.const import * from files.helpers.const_stateful import * from files.helpers.get import * diff --git a/files/routes/oauth.py b/files/routes/oauth.py index 20f13be1e..f26924057 100644 --- a/files/routes/oauth.py +++ b/files/routes/oauth.py @@ -68,6 +68,7 @@ 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,