fix(PollResults): AnswerCounts json name (#1576)

This commit is contained in:
PinkNoize 2024-10-06 09:14:21 -07:00 committed by GitHub
parent 247dbd7f5c
commit 7fded9fd03
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2369,7 +2369,7 @@ type PollAnswerCount struct {
// PollResults contains voting results on a poll.
type PollResults struct {
Finalized bool `json:"is_finalized"`
AnswerCounts []*PollAnswerCount `json:"answer_count"`
AnswerCounts []*PollAnswerCount `json:"answer_counts"`
}
// Poll contains all poll related data.