From 83a39dbebed42b9bd779d86b4fcf30a0f5348d87 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Wed, 6 Jul 2022 23:23:01 +0530 Subject: added manga and nsfw results in list command --- mal/list.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mal/list.go') diff --git a/mal/list.go b/mal/list.go index ec0c634..82b4938 100644 --- a/mal/list.go +++ b/mal/list.go @@ -27,7 +27,7 @@ import ( // TODO: return all the list items using loop func AnimeList(user, status, sort string, nsfw bool) []a.Anime { - res, _, err := userAnimeClient.GetAnimeList(user, status, sort, 1000, 0, nsfw, []string{"title", "list_status", "num_episodes", "media_type"}) + res, _, err := userAnimeClient.GetAnimeList(user, status, sort, 1000, 0, nsfw, []string{"title", "num_episodes", "media_type"}) if err != nil { fmt.Println(err) os.Exit(1) @@ -37,7 +37,7 @@ func AnimeList(user, status, sort string, nsfw bool) []a.Anime { // TODO: return all the list items using loop func MangaList(user, status, sort string, nsfw bool) []m.Manga { - res, _, err := userMangaClient.GetMangaList(user, status, sort, 1000, 0, nsfw, []string{"title", "my_list_status", "num_chapters"}) + res, _, err := userMangaClient.GetMangaList(user, status, sort, 1000, 0, nsfw, []string{"title", "num_chapters", "num_volumes", "media_type"}) if err != nil { fmt.Println(err) os.Exit(1) -- cgit v1.2.3