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,