diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-11-26 14:30:11 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-11-26 14:30:11 +0530 |
commit | 747e4795424c6f9112f0e64bcb434df42b2ba8c5 (patch) | |
tree | 080a85cdf9a2f001562d9583f1e911c70497839d /mal | |
parent | 50f211800946318ff4e3c40c1fc497c149b0380d (diff) |
fixed help messages, etc
Diffstat (limited to 'mal')
-rw-r--r-- | mal/list.go | 8 |
1 files changed, 4 insertions, 4 deletions
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) |