From 43f612643b07cf81ac5bf5169404ef4512207cab Mon Sep 17 00:00:00 2001 From: mlnrDev Date: Thu, 21 Mar 2024 22:25:58 +0100 Subject: [PATCH] remove omitempty for now --- discord/poll.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/poll.go b/discord/poll.go index 5647dda0..8d0c7793 100644 --- a/discord/poll.go +++ b/discord/poll.go @@ -12,7 +12,7 @@ type Poll struct { Expiry time.Time `json:"expiry"` AllowMultiselect bool `json:"allow_multiselect"` LayoutType PollLayoutType `json:"layout_type"` - Results []PollResults `json:"results,omitempty"` + Results []PollResults `json:"results"` } type PollMedia struct {