diff --git a/drama/routes/votes.py b/drama/routes/votes.py index a0bc0f7aea..08b026e882 100644 --- a/drama/routes/votes.py +++ b/drama/routes/votes.py @@ -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 )