From 017df270608e286c8ce85683629d5c2dcf400988 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Thu, 24 Feb 2022 22:17:51 +0530 Subject: fixed mutliple bugs in GetMangaList --- manga/manga.structs.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'manga/manga.structs.go') 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"` -- cgit v1.2.3