From 66c530d5244f5e195133ed2380e82ddc71785701 Mon Sep 17 00:00:00 2001 From: Dan Anglin Date: Tue, 4 Jun 2024 09:54:40 +0100 Subject: [PATCH] fix: fix type of PollOption.VotesCount --- internal/model/status.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/model/status.go b/internal/model/status.go index e1db973..85fb8be 100644 --- a/internal/model/status.go +++ b/internal/model/status.go @@ -83,7 +83,7 @@ type Poll struct { type PollOption struct { Title string `json:"title"` - VotesCount string `json:"votes_count"` + VotesCount int `json:"votes_count"` } type StatusReblogged struct {