From 551b158d207d99d439cad39b512a21a6e8bd0c54 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Thu, 30 Jun 2022 20:42:30 +0530 Subject: added --query option to status command and fixed bug while setting manga status (it calls SetAnimeStatus instead) --- mal/search.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mal') 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 { -- cgit v1.2.3