aboutsummaryrefslogtreecommitdiff
path: root/cmd/status.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/status.go')
-rw-r--r--cmd/status.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/cmd/status.go b/cmd/status.go
index feb5c10..dcf177c 100644
--- a/cmd/status.go
+++ b/cmd/status.go
@@ -68,8 +68,8 @@ func setAnimeStatus(statusInput, searchInput string) {
if statusInput == "" {
ui.AnimeStatusMenu(anime)
} else {
- mal.SetAnimeStatus(anime.Id, statusInput)
- fmt.Printf("Successfully set \"%s\" to \"%s\"\n", anime.Title, statusInput)
+ resp := mal.SetAnimeStatus(anime.Id, statusInput)
+ fmt.Println(ui.CreateStatusUpdateConfirmationMessage(anime.Title, resp.Status))
}
}
@@ -83,8 +83,8 @@ func setMangaStatus(statusInput, searchInput string) {
if statusInput == "" {
ui.MangaStatusMenu(manga)
} else {
- mal.SetAnimeStatus(manga.Id, statusInput)
- fmt.Printf("Successfully set \"%s\" to \"%s\"\n", manga.Title, statusInput)
+ resp := mal.SetAnimeStatus(manga.Id, statusInput)
+ fmt.Println(ui.CreateStatusUpdateConfirmationMessage(manga.Title, resp.Status))
}
}