From 7453f813ebcaa69ccd8061516265549eb023b1d5 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Tue, 27 Mar 2018 08:19:01 +0200 Subject: [PATCH] Removed count from list item ratings --- pages/listimport/listimportanilist/anilist.go | 2 +- pages/listimport/listimportkitsu/kitsu.go | 2 +- pages/listimport/listimportmyanimelist/myanimelist.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/listimport/listimportanilist/anilist.go b/pages/listimport/listimportanilist/anilist.go index 098ee7d5..322bf282 100644 --- a/pages/listimport/listimportanilist/anilist.go +++ b/pages/listimport/listimportanilist/anilist.go @@ -53,7 +53,7 @@ func Finish(ctx *aero.Context) string { Status: arn.AniListAnimeListStatus(match.AniListItem), Episodes: match.AniListItem.EpisodesWatched, Notes: match.AniListItem.Notes, - Rating: &arn.AnimeRating{ + Rating: arn.AnimeListItemRating{ Overall: float64(match.AniListItem.ScoreRaw) / 10.0, }, RewatchCount: match.AniListItem.Rewatched, diff --git a/pages/listimport/listimportkitsu/kitsu.go b/pages/listimport/listimportkitsu/kitsu.go index bcd398d7..4671013f 100644 --- a/pages/listimport/listimportkitsu/kitsu.go +++ b/pages/listimport/listimportkitsu/kitsu.go @@ -66,7 +66,7 @@ func Finish(ctx *aero.Context) string { Status: arn.KitsuStatusToARNStatus(match.KitsuItem.Attributes.Status), Episodes: match.KitsuItem.Attributes.Progress, Notes: match.KitsuItem.Attributes.Notes, - Rating: &arn.AnimeRating{ + Rating: arn.AnimeListItemRating{ Overall: convertedRating, }, RewatchCount: match.KitsuItem.Attributes.ReconsumeCount, diff --git a/pages/listimport/listimportmyanimelist/myanimelist.go b/pages/listimport/listimportmyanimelist/myanimelist.go index 511f4928..d8a5cf1a 100644 --- a/pages/listimport/listimportmyanimelist/myanimelist.go +++ b/pages/listimport/listimportmyanimelist/myanimelist.go @@ -62,7 +62,7 @@ func Finish(ctx *aero.Context) string { Status: arn.MyAnimeListStatusToARNStatus(match.MyAnimeListItem.MyStatus), Episodes: episodesWatched, Notes: "", - Rating: &arn.AnimeRating{ + Rating: arn.AnimeListItemRating{ Overall: rating, }, RewatchCount: rewatchCount,