forked from pothtonswer/discordmuffin
fix(PollResults): AnswerCounts json name (#1576)
This commit is contained in:
parent
247dbd7f5c
commit
7fded9fd03
1 changed files with 1 additions and 1 deletions
|
@ -2369,7 +2369,7 @@ type PollAnswerCount struct {
|
||||||
// PollResults contains voting results on a poll.
|
// PollResults contains voting results on a poll.
|
||||||
type PollResults struct {
|
type PollResults struct {
|
||||||
Finalized bool `json:"is_finalized"`
|
Finalized bool `json:"is_finalized"`
|
||||||
AnswerCounts []*PollAnswerCount `json:"answer_count"`
|
AnswerCounts []*PollAnswerCount `json:"answer_counts"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Poll contains all poll related data.
|
// Poll contains all poll related data.
|
||||||
|
|
Loading…
Reference in a new issue