From 747e4795424c6f9112f0e64bcb434df42b2ba8c5 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Sat, 26 Nov 2022 14:30:11 +0530 Subject: fixed help messages, etc --- mal/list.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'mal/list.go') diff --git a/mal/list.go b/mal/list.go index 82b4938..3e9e737 100644 --- a/mal/list.go +++ b/mal/list.go @@ -26,8 +26,8 @@ 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", "num_episodes", "media_type"}) +func AnimeList(user, status, sort string) []a.Anime { + res, _, err := userAnimeClient.GetAnimeList(user, status, sort, 1000, 0, SearchNSFW, []string{"title", "num_episodes", "media_type"}) if err != nil { fmt.Println(err) os.Exit(1) @@ -36,8 +36,8 @@ 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", "num_chapters", "num_volumes", "media_type"}) +func MangaList(user, status, sort string) []m.Manga { + res, _, err := userMangaClient.GetMangaList(user, status, sort, 1000, 0, SearchNSFW, []string{"title", "num_chapters", "num_volumes", "media_type"}) if err != nil { fmt.Println(err) os.Exit(1) -- cgit v1.2.3