forked from rDrama/rDrama
fdfd
parent
2934bf5ea8
commit
6612ab454f
|
@ -389,6 +389,7 @@ def api_comment(v):
|
||||||
print('z')
|
print('z')
|
||||||
# create comment
|
# create comment
|
||||||
parent_id = parent_fullname.split("_")[1]
|
parent_id = parent_fullname.split("_")[1]
|
||||||
|
print('b')
|
||||||
post = get_post(parent_id)
|
post = get_post(parent_id)
|
||||||
c = Comment(author_id=v.id,
|
c = Comment(author_id=v.id,
|
||||||
parent_submission=parent_submission,
|
parent_submission=parent_submission,
|
||||||
|
@ -400,7 +401,7 @@ def api_comment(v):
|
||||||
app_id=v.client.application.id if v.client else None,
|
app_id=v.client.application.id if v.client else None,
|
||||||
shadowbanned=v.shadowbanned
|
shadowbanned=v.shadowbanned
|
||||||
)
|
)
|
||||||
|
print('a')
|
||||||
g.db.add(c)
|
g.db.add(c)
|
||||||
g.db.flush()
|
g.db.flush()
|
||||||
print("7")
|
print("7")
|
||||||
|
|
Loading…
Reference in New Issue