summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--internal/db/bundb/poll.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/db/bundb/poll.go b/internal/db/bundb/poll.go
index 84f160987..ab6edb4b9 100644
--- a/internal/db/bundb/poll.go
+++ b/internal/db/bundb/poll.go
@@ -478,7 +478,7 @@ func (p *pollDB) DeletePollVoteBy(ctx context.Context, pollID string, accountID
}
// Decrement votes for choices.
- poll.IncrementVotes(choices)
+ poll.DecrementVotes(choices)
// Finally, update the poll entry.
_, err := tx.NewUpdate().