forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2021-10-06 01:44:38 +02:00
parent 221c1640e3
commit 73d0afa06a
1 changed files with 2 additions and 0 deletions

View File

@ -286,6 +286,7 @@ def api_comment(v):
body=body[:10000]
)
c.upvotes = 1
g.db.add(c)
g.db.flush()
@ -562,6 +563,7 @@ def api_comment(v):
)
g.db.add(vote)
cache.delete_memoized(comment_idlist)