remotes/1693045480750635534/spooky-22
Aevann1 2021-10-06 01:16:31 +02:00
parent d77d872dbd
commit 203d74e949
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ def api_vote_poll(comment_id, v):
comment_id = int(comment_id)
existing = g.db.query(CommentVote).options(lazyload('*')).filter_by(user_id=v.id, comment_id=comment.id).first()
existing = g.db.query(CommentVote).options(lazyload('*')).filter_by(user_id=v.id, comment_id=comment_id).first()
if existing and existing.vote_type == vote: return "", 204