This commit is contained in:
Aevann1 2021-07-26 21:47:56 +02:00
parent 9cda7ec621
commit ed9f84f114

View file

@ -157,7 +157,7 @@ def api_vote_comment(comment_id, new, v):
comment.author.dramacoins += 1
g.db.add(comment.author)
vote = CommentVote(user_id=v.id,
vote_type=x,
vote_type=new,
comment_id=base36decode(comment_id),
app_id=v.client.application.id if v.client else None
)