From aa904f5401b8cfcb5f4c4c5d8c0495a4c6c241f7 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Thu, 30 Jun 2022 23:10:38 +0530 Subject: Bug Fix: updating manga score still calls SetAnimeScore --- cmd/score.go | 2 +- cmd/version.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/score.go b/cmd/score.go index 15a1e03..cca3364 100644 --- a/cmd/score.go +++ b/cmd/score.go @@ -110,7 +110,7 @@ func setMangaScore(scoreInput int, searchInput string) { } if scoreInput < 0 { - ui.ScoreInput(manga.Id, selectedManga.MyListStatus.Score, manga.Title, false) + ui.ScoreInput(manga.Id, selectedManga.MyListStatus.Score, manga.Title, true) } else { resp := mal.SetAnimeScore(manga.Id, scoreInput) fmt.Println(ui.CreateScoreUpdateConfirmationMessage(manga.Title, currentScore, resp.Score)) diff --git a/cmd/version.go b/cmd/version.go index 4ca1a04..0901980 100644 --- a/cmd/version.go +++ b/cmd/version.go @@ -24,7 +24,7 @@ import ( "github.com/spf13/cobra" ) -var version string = "v1.5.0" +var version string = "v1.5.1" var versionCmd = &cobra.Command { Use: "version", -- cgit v1.2.3