Skip to content

Commit

Permalink
fix Results type
Browse files Browse the repository at this point in the history
  • Loading branch information
sebm253 committed Apr 17, 2024
1 parent d771026 commit b666515
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion discord/poll.go
Expand Up @@ -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"`
Results *PollResults `json:"results"`
}

type PollCreate struct {
Expand Down

0 comments on commit b666515

Please sign in to comment.