This commit is contained in:
Aevann1 2022-03-31 17:00:57 +02:00
parent c50cb5ca30
commit c0d8490df3
6 changed files with 18 additions and 4 deletions

View file

@ -9,7 +9,8 @@ def create_comment(text_html, autojanny=False):
new_comment = Comment(author_id=author_id,
parent_submission=None,
body_html=text_html)
body_html=text_html,
distinguish_level=6)
g.db.add(new_comment)
g.db.flush()
return new_comment.id