From af9d2adedcb37b2c6c316cf52950a19d2a245803 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Tue, 15 Aug 2023 15:09:25 +0530 Subject: changed AnimeListStatus.Score and AnimeListStatus.Priority from string to int --- common_types.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common_types.go') 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"` -- cgit v1.2.3