diff --git a/files/routes/posts.py b/files/routes/posts.py index fe370c153d..05e1ca846f 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -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)