aboutsummaryrefslogtreecommitdiff
path: root/util/structs.go
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@protonmail.ch>2022-03-07 23:45:31 +0530
committerVidhu Kant Sharma <vidhukant@protonmail.ch>2022-03-07 23:45:31 +0530
commit6eb07bc323e04785b5031c8332643b243d63f073 (patch)
treea8e67106bfb91c785191b8ab53ecce96757b13ab /util/structs.go
parent515c6f76146d37afebdbd24883717b4e1f30151d (diff)
fixed num_episodes_watched not working in anime package
Diffstat (limited to 'util/structs.go')
-rw-r--r--util/structs.go1
1 files changed, 1 insertions, 0 deletions
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"`