Skip to content

Commit

Permalink
fix(PollResults): AnswerCounts json name (#1576)
Browse files Browse the repository at this point in the history
  • Loading branch information
PinkNoize authored Oct 6, 2024
1 parent 247dbd7 commit 7fded9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion structs.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 7fded9f

Please sign in to comment.