From a01c567bf41778a5ca4c7d5b77eb375d4f058d63 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Sat, 5 Feb 2022 13:33:00 +0530 Subject: fixed Statistics.Status.* showing 0 instead of correct data --- anime/anime.structs.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'anime/anime.structs.go') diff --git a/anime/anime.structs.go b/anime/anime.structs.go index 3b468d1..2db1b19 100644 --- a/anime/anime.structs.go +++ b/anime/anime.structs.go @@ -22,11 +22,11 @@ type AnimePicture struct { } type StatusStatistics struct { - Watching int `json:"watching"` - Completed int `json:"completed"` - OnHold int `json:"on_hold"` - Dropped int `json:"dropped"` - PlanToWatch int `json:"plan_to_watch"` + Watching string `json:"watching"` + Completed string `json:"completed"` + OnHold string `json:"on_hold"` + Dropped string `json:"dropped"` + PlanToWatch string `json:"plan_to_watch"` } type AnimeStatistics struct { -- cgit v1.2.3