master
Aevann1 2021-09-24 04:51:04 +02:00
parent dce949d774
commit bf53e5fb5b
1 changed files with 3 additions and 0 deletions

View File

@ -1031,6 +1031,8 @@ def submit_post(v):
body_html = sanitize(body_md)
print("test")
c = Comment(author_id=261,
distinguish_level=6,
parent_submission=new_post.id,
@ -1045,6 +1047,7 @@ def submit_post(v):
g.db.add(c)
g.db.flush()
print("wtf")
n = Notification(comment_id=c.id, user_id=v.id)