This commit is contained in:
Aevann1 2021-09-24 04:51:04 +02:00
parent 0b72a8ef22
commit 8fe4bd0fa4

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)