fix(discover): 🌐 Localize episodes names in TV details (#4467) [skip ci]

pull/4470/head
sephrat 3 years ago committed by GitHub
parent 2cf67bf9b8
commit 35806ea2d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -89,7 +89,7 @@ namespace Ombi.Core.Engine.V2
foreach (var tvSeason in show.seasons.Where(x => x.season_number != 0)) // skip the first season foreach (var tvSeason in show.seasons.Where(x => x.season_number != 0)) // skip the first season
{ {
var seasonEpisodes = (await _movieApi.GetSeasonEpisodes(show.id, tvSeason.season_number, token)); var seasonEpisodes = (await _movieApi.GetSeasonEpisodes(show.id, tvSeason.season_number, token, langCode));
MapSeasons(mapped.SeasonRequests, tvSeason, seasonEpisodes); MapSeasons(mapped.SeasonRequests, tvSeason, seasonEpisodes);
} }

Loading…
Cancel
Save