aboutsummaryrefslogtreecommitdiff
path: root/mastodon
diff options
context:
space:
mode:
Diffstat (limited to 'mastodon')
-rw-r--r--mastodon/poll.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/mastodon/poll.go b/mastodon/poll.go
index 274b95e..cd874a7 100644
--- a/mastodon/poll.go
+++ b/mastodon/poll.go
@@ -10,7 +10,7 @@ import (
type Poll struct {
ID string `json:"id"`
- ExpiresAt time.Time `json:"expires_at"`
+ ExpiresAt *time.Time `json:"expires_at"`
Expired bool `json:"expired"`
Multiple bool `json:"multiple"`
VotesCount int64 `json:"votes_count"`