aboutsummaryrefslogtreecommitdiff
path: root/manga
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@protonmail.ch>2022-02-24 22:17:51 +0530
committerVidhu Kant Sharma <vidhukant@protonmail.ch>2022-02-24 22:17:51 +0530
commit017df270608e286c8ce85683629d5c2dcf400988 (patch)
treed2fd14f1b186a4a03250e3a10f9660a8e8b7d2ef /manga
parent10499ad3cf8db85a5c5ebd8112415d17a727c2ec (diff)
fixed mutliple bugs in GetMangaList
Diffstat (limited to 'manga')
-rw-r--r--manga/manga.structs.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/manga/manga.structs.go b/manga/manga.structs.go
index 2fb5b29..e863d00 100644
--- a/manga/manga.structs.go
+++ b/manga/manga.structs.go
@@ -62,7 +62,10 @@ type Manga struct {
UpdatedAt string `json:"updated_at"`
MediaType string `json:"media_type"`
Status string `json:"status"`
- ListStatus ListStatus `json:"my_list_status"`
+ /* MyListStatus refers to the authenticated user's info
+ * while ListStatus can be used for other users */
+ MyListStatus ListStatus `json:"my_list_status"`
+ ListStatus ListStatus `json:"list_status"`
NumVolumes int `json:"num_volumes"`
NumChapters int `json:"num_chapters"`
Authors []Author `json:"authors"`