diff options
| author | JPVenson <github@jpb.email> | 2024-10-22 10:54:22 +0000 |
|---|---|---|
| committer | JPVenson <github@jpb.email> | 2024-10-22 10:54:22 +0000 |
| commit | bf7e6858d5a60d9a2a455853b4bef24cf0e7fae7 (patch) | |
| tree | 37e604511a6c9320f12ab356b726b7511ff8d5cf | |
| parent | c2a0dfb1e58fce977ab3af83001bf7612b781ae1 (diff) | |
Reverted ToImmutableList change
| -rw-r--r-- | Jellyfin.Api/Controllers/MoviesController.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/MoviesController.cs b/Jellyfin.Api/Controllers/MoviesController.cs index ae67b6710..77aca4ff9 100644 --- a/Jellyfin.Api/Controllers/MoviesController.cs +++ b/Jellyfin.Api/Controllers/MoviesController.cs @@ -121,7 +121,7 @@ public class MoviesController : BaseJellyfinApiController DtoOptions = dtoOptions }); - var mostRecentMovies = recentlyPlayedMovies.Take(Math.Min(recentlyPlayedMovies.Count, 6)).ToImmutableList(); + var mostRecentMovies = recentlyPlayedMovies.Take(Math.Min(recentlyPlayedMovies.Count, 6)); // Get recently played directors var recentDirectors = GetDirectors(mostRecentMovies) .ToList(); |
