fsd
This commit is contained in:
parent
0b72a8ef22
commit
8fe4bd0fa4
1 changed files with 3 additions and 0 deletions
|
@ -1031,6 +1031,8 @@ def submit_post(v):
|
||||||
body_html = sanitize(body_md)
|
body_html = sanitize(body_md)
|
||||||
|
|
||||||
|
|
||||||
|
print("test")
|
||||||
|
|
||||||
c = Comment(author_id=261,
|
c = Comment(author_id=261,
|
||||||
distinguish_level=6,
|
distinguish_level=6,
|
||||||
parent_submission=new_post.id,
|
parent_submission=new_post.id,
|
||||||
|
@ -1045,6 +1047,7 @@ def submit_post(v):
|
||||||
g.db.add(c)
|
g.db.add(c)
|
||||||
g.db.flush()
|
g.db.flush()
|
||||||
|
|
||||||
|
print("wtf")
|
||||||
|
|
||||||
|
|
||||||
n = Notification(comment_id=c.id, user_id=v.id)
|
n = Notification(comment_id=c.id, user_id=v.id)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue