remotes/1693045480750635534/spooky-22
Aevann1 2021-09-22 20:58:55 +02:00
parent eec6dc0a20
commit 7dfde0b258
1 changed files with 2 additions and 0 deletions

View File

@ -583,6 +583,8 @@ def api_comment(v):
parent_post.comment_count = g.db.query(Comment).options(lazyload('*')).filter_by(parent_submission=parent_post.id).count()
g.db.add(parent_post)
c.voted = 1
g.db.commit()
if request.headers.get("Authorization"): return c.json