aboutsummaryrefslogtreecommitdiff
path: root/mal
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-06-30 20:42:30 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-06-30 20:42:30 +0530
commit551b158d207d99d439cad39b512a21a6e8bd0c54 (patch)
treed85adcc28565104f9a543201ae72e7a871f9df17 /mal
parenta3a7b41179d8abe9edc705db6b14063e95c459fa (diff)
added --query option to status command and fixed bug while setting manga status (it calls SetAnimeStatus instead)
Diffstat (limited to 'mal')
-rw-r--r--mal/search.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/mal/search.go b/mal/search.go
index de2c53c..8fee461 100644
--- a/mal/search.go
+++ b/mal/search.go
@@ -28,7 +28,7 @@ import (
func SearchAnime(searchString string) []a.Anime {
// TODO: read limit, offset from flags
limit, offset := 10, 0
- fields := []string{"title", "id", "my_list_status", "num_episodes"}
+ fields := []string{"title", "id", "my_list_status"}
res, err := animeClient.SearchAnime(searchString, limit, offset, fields)
if err != nil {