fix 500 errors

pull/134/head
Aevann 2023-02-24 08:48:30 +02:00
parent d2447905b0
commit 858592965f
2 changed files with 2 additions and 1 deletions

View File

@ -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 *

View File

@ -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,