This commit is contained in:
Aevann1 2021-11-30 16:23:34 +02:00
parent dd4fb5b411
commit 872b1b11eb
8 changed files with 13 additions and 14 deletions

View file

@ -216,7 +216,7 @@ def api_vote_poll(comment_id, v):
g.db.add(existing)
else: g.db.delete(existing)
elif new == 1:
vote = CommentVote(user_id=v.id, vote_type=new, comment_id=comment.id, real=True)
vote = CommentVote(user_id=v.id, vote_type=new, comment_id=comment.id)
g.db.add(vote)
try: