From 7fded9fd035ac9a51762a16ef6cf471f5e471b7f Mon Sep 17 00:00:00 2001 From: PinkNoize <21967246+PinkNoize@users.noreply.github.com> Date: Sun, 6 Oct 2024 09:14:21 -0700 Subject: [PATCH] fix(PollResults): AnswerCounts json name (#1576) --- structs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/structs.go b/structs.go index 335a74869..0ff66276d 100644 --- a/structs.go +++ b/structs.go @@ -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.