From 61d4dc4415d99bc8e131991fa58a79c04f9874ec Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 26 Jul 2021 21:47:56 +0200 Subject: [PATCH] dfdf --- drama/routes/votes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drama/routes/votes.py b/drama/routes/votes.py index a0bc0f7ae..08b026e88 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 )