aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmd/score.go4
-rw-r--r--ui/score.go2
2 files changed, 3 insertions, 3 deletions
diff --git a/cmd/score.go b/cmd/score.go
index cca3364..d22f4d2 100644
--- a/cmd/score.go
+++ b/cmd/score.go
@@ -105,14 +105,14 @@ func setMangaScore(scoreInput int, searchInput string) {
currentScore := selectedManga.MyListStatus.Score
if queryOnlyMode {
- fmt.Printf("\x1b[35m%s\x1b[0m :: Score -> %s\n", manga.Title, ui.FormatScore(currentScore))
+ fmt.Printf("\x1b[35m%s\x1b[0m Score :: %s\n", manga.Title, ui.FormatScore(currentScore))
os.Exit(0)
}
if scoreInput < 0 {
ui.ScoreInput(manga.Id, selectedManga.MyListStatus.Score, manga.Title, true)
} else {
- resp := mal.SetAnimeScore(manga.Id, scoreInput)
+ resp := mal.SetMangaScore(manga.Id, scoreInput)
fmt.Println(ui.CreateScoreUpdateConfirmationMessage(manga.Title, currentScore, resp.Score))
}
}
diff --git a/ui/score.go b/ui/score.go
index 6f0d92a..4832f6a 100644
--- a/ui/score.go
+++ b/ui/score.go
@@ -78,7 +78,7 @@ func ScoreInput(id, currentScore int, title string, isManga bool) {
template := &p.PromptTemplates {
Valid: "\x1b[0m{{ . | magenta }}",
- Invalid: "\x1b[0m{{ . | magenta }}\x1b[31m ",
+ Invalid: "\x1b[0m{{ . | magenta }}\x1b[31m",
Success: "{{ . | cyan }}",
}