Skip to content
This repository has been archived by the owner on Apr 13, 2024. It is now read-only.

Commit

Permalink
Adds distinct to episodesLookup
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcos Cordeiro committed Apr 28, 2023
1 parent 7fbb71e commit 5089a21
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Wasari.Crunchyroll/EpisodeExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ public static async IAsyncEnumerable<ApiEpisode> EnrichWithWasariApi(this IAsync
{
var episodesLookup = wasariApiEpisodes
.Where(i => !i.IsMovie)
.Distinct()
.ToLookup(i => i.Name);

foreach (var episode in episodesArray)
Expand Down

0 comments on commit 5089a21

Please sign in to comment.