aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2023-08-15 15:09:25 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2023-08-15 15:09:25 +0530
commitaf9d2adedcb37b2c6c316cf52950a19d2a245803 (patch)
tree16431a00678ff9bc1ffe04b142366d0816408471
parentf4051d90a3e0520017020a145c1ccd129bb27aa3 (diff)
changed AnimeListStatus.Score and AnimeListStatus.Priority from string to intv0.0.4
-rw-r--r--common_types.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/common_types.go b/common_types.go
index 862c962..272fb5b 100644
--- a/common_types.go
+++ b/common_types.go
@@ -48,10 +48,10 @@ type AltTitles struct {
type listStatus struct {
Status string `json:"status"`
- Score string `json:"score"`
+ Score int `json:"score"`
StartDate string `json:"start_date"`
FinishDate string `json:"finish_date"`
- Priority string `json:"priority"`
+ Priority int `json:"priority"`
Tags string `json:"tags"`
Comments string `json:"comments"`
UpdatedAt string `json:"updated_at"`