aboutsummaryrefslogtreecommitdiff
path: root/util/structs.go
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-09-06 14:24:12 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-09-06 14:24:12 +0530
commit017da9a33339fec2423e365c7b8c872e27b5bd21 (patch)
treecf536c74560f8bb1dcb1a1d35a72423357820f9a /util/structs.go
parente5dfabfa8ee370cbcda356448d7153d53a59a5cf (diff)
util.StatusStatistics is now using integers on MyAnimeList's side.
Diffstat (limited to 'util/structs.go')
-rw-r--r--util/structs.go10
1 files changed, 5 insertions, 5 deletions
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 {