From 6eb07bc323e04785b5031c8332643b243d63f073 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Mon, 7 Mar 2022 23:45:31 +0530 Subject: fixed num_episodes_watched not working in anime package --- util/structs.go | 1 + 1 file changed, 1 insertion(+) (limited to 'util') diff --git a/util/structs.go b/util/structs.go index 600ec94..cb1f052 100644 --- a/util/structs.go +++ b/util/structs.go @@ -64,6 +64,7 @@ type Picture struct { Large string `json:"large"` } +// for some reason the API returns them as string type StatusStatistics struct { Watching string `json:"watching"` Completed string `json:"completed"` -- cgit v1.2.3