forked from rDrama/rDrama
fsd
parent
dce949d774
commit
bf53e5fb5b
|
@ -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…
Reference in New Issue