From 10219620cef9b993dcde96a2d396c958f6d52915 Mon Sep 17 00:00:00 2001 From: da3dsoul Date: Fri, 22 Dec 2023 15:01:52 -0500 Subject: [PATCH] Rename Episode to EpisodeCount --- Shoko.Server/API/v3/Helpers/SeriesFactory.cs | 2 +- Shoko.Server/API/v3/Models/Shoko/Series.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Shoko.Server/API/v3/Helpers/SeriesFactory.cs b/Shoko.Server/API/v3/Helpers/SeriesFactory.cs index 0616c8f63..8834c0a85 100644 --- a/Shoko.Server/API/v3/Helpers/SeriesFactory.cs +++ b/Shoko.Server/API/v3/Helpers/SeriesFactory.cs @@ -889,7 +889,7 @@ public SeriesWithMultipleReleasesResult GetSeriesWithMultipleReleasesResult( Links = series.Links, _AniDB = series._AniDB, _TvDB = series._TvDB, - Episodes = episodesWithMultipleReleases, + EpisodeCount = episodesWithMultipleReleases, }; } } diff --git a/Shoko.Server/API/v3/Models/Shoko/Series.cs b/Shoko.Server/API/v3/Models/Shoko/Series.cs index 24667c0af..6923623b0 100644 --- a/Shoko.Server/API/v3/Models/Shoko/Series.cs +++ b/Shoko.Server/API/v3/Models/Shoko/Series.cs @@ -489,7 +489,7 @@ public class SeriesWithMultipleReleasesResult : Series /// /// Number of episodes in the series which have multiple releases. /// - public int Episodes { get; set; } + public int EpisodeCount { get; set; } } public enum SeriesType