remotes/1693045480750635534/spooky-22
Aevann1 2021-07-26 05:10:04 +02:00
parent 2934bf5ea8
commit 6612ab454f
1 changed files with 2 additions and 1 deletions

View File

@ -389,6 +389,7 @@ def api_comment(v):
print('z')
# create comment
parent_id = parent_fullname.split("_")[1]
print('b')
post = get_post(parent_id)
c = Comment(author_id=v.id,
parent_submission=parent_submission,
@ -400,7 +401,7 @@ def api_comment(v):
app_id=v.client.application.id if v.client else None,
shadowbanned=v.shadowbanned
)
print('a')
g.db.add(c)
g.db.flush()
print("7")