aboutsummaryrefslogtreecommitdiff
path: root/cmd/status.go
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-07-04 22:18:49 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-07-04 22:18:49 +0530
commit2689541cbbba044153c33fb1b36d691514916139 (patch)
treec7274666127b8a038b885353c541c14f32dfa264 /cmd/status.go
parent2bb89f25599f48c4953801298c4f9ef8dee12246 (diff)
added --id flag to search and episodes and chapters command
Diffstat (limited to 'cmd/status.go')
-rw-r--r--cmd/status.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/status.go b/cmd/status.go
index ba5d047..1e80c7b 100644
--- a/cmd/status.go
+++ b/cmd/status.go
@@ -128,8 +128,7 @@ func setMangaStatus(statusInput, searchInput string) {
ui.MangaStatusMenu(selectedManga)
} else {
resp := mal.SetMangaStatus(selectedManga.Id, statusInput)
- fmt.Println(resp.Status)
- fmt.Println(ui.CreateStatusUpdateConfirmationMessage(selectedManga.Title, resp.Status, selectedManga.MyListStatus.Status))
+ fmt.Println(ui.CreateStatusUpdateConfirmationMessage(selectedManga.Title, selectedManga.MyListStatus.Status, resp.Status))
}
}