From 017da9a33339fec2423e365c7b8c872e27b5bd21 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Tue, 6 Sep 2022 14:24:12 +0530 Subject: util.StatusStatistics is now using integers on MyAnimeList's side. --- util/structs.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'util') diff --git a/util/structs.go b/util/structs.go index cee0e3d..c5e78d5 100644 --- a/util/structs.go +++ b/util/structs.go @@ -61,11 +61,11 @@ type Picture struct { } type StatusStatistics struct { - Watching string `json:"watching"` - Completed string `json:"completed"` - OnHold string `json:"on_hold"` - Dropped string `json:"dropped"` - PlanToWatch string `json:"plan_to_watch"` + Watching int `json:"watching"` + Completed int `json:"completed"` + OnHold int `json:"on_hold"` + Dropped int `json:"dropped"` + PlanToWatch int `json:"plan_to_watch"` } type Genre struct { -- cgit v1.2.3