fix 500 errors
parent
d2447905b0
commit
858592965f
|
@ -11,7 +11,7 @@ from files.classes.mod_logs import ModAction
|
||||||
from files.classes.notifications import Notification
|
from files.classes.notifications import Notification
|
||||||
from files.classes.polls import CommentOption, SubmissionOption
|
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.config.const import *
|
||||||
from files.helpers.const_stateful import *
|
from files.helpers.const_stateful import *
|
||||||
from files.helpers.get import *
|
from files.helpers.get import *
|
||||||
|
|
|
@ -68,6 +68,7 @@ def request_api_keys(v):
|
||||||
new_comment = Comment(author_id=AUTOJANNY_ID,
|
new_comment = Comment(author_id=AUTOJANNY_ID,
|
||||||
parent_submission=None,
|
parent_submission=None,
|
||||||
level=1,
|
level=1,
|
||||||
|
body=body,
|
||||||
body_html=body_html,
|
body_html=body_html,
|
||||||
sentto=MODMAIL_ID,
|
sentto=MODMAIL_ID,
|
||||||
distinguish_level=6,
|
distinguish_level=6,
|
||||||
|
|
Loading…
Reference in New Issue