aboutsummaryrefslogtreecommitdiff
path: root/mal/list.go
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-07-06 23:23:01 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-07-06 23:23:01 +0530
commit83a39dbebed42b9bd779d86b4fcf30a0f5348d87 (patch)
treeced0a3cbcde63fdeb01e678191b3eee07e056ad4 /mal/list.go
parentb5a8c767660fde8b73fee1ea0b261b28e35ccc62 (diff)
added manga and nsfw results in list command
Diffstat (limited to 'mal/list.go')
-rw-r--r--mal/list.go4
1 files changed, 2 insertions, 2 deletions
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)