aboutsummaryrefslogtreecommitdiff
path: root/anime/anime.structs.go
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@protonmail.ch>2022-02-05 13:33:00 +0530
committerVidhu Kant Sharma <vidhukant@protonmail.ch>2022-02-05 13:33:00 +0530
commita01c567bf41778a5ca4c7d5b77eb375d4f058d63 (patch)
treebe39dd97a0ea3df06088c836aca29de6208433e0 /anime/anime.structs.go
parentf2d4bf9de9808f08f523ea2c741f385830960214 (diff)
fixed Statistics.Status.* showing 0 instead of correct data
Diffstat (limited to 'anime/anime.structs.go')
-rw-r--r--anime/anime.structs.go10
1 files changed, 5 insertions, 5 deletions
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 {