diff options
| author | JPVenson <github@jpb.email> | 2024-10-28 14:34:29 +0000 |
|---|---|---|
| committer | JPVenson <github@jpb.email> | 2024-10-28 14:34:29 +0000 |
| commit | 0639758abd157330c17bdc1831020bfbf6c0ce73 (patch) | |
| tree | fc76dc728f2acf8640cfbb438b0cbdde96f7e425 /Jellyfin.Api/Controllers/YearsController.cs | |
| parent | f80fa96453a173ce5ea6e7ecab7900137d4b569d (diff) | |
Updated all instances of ImmutableList to ImmutableArray
Diffstat (limited to 'Jellyfin.Api/Controllers/YearsController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/YearsController.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Jellyfin.Api/Controllers/YearsController.cs b/Jellyfin.Api/Controllers/YearsController.cs index ffc34a5d9..907724e04 100644 --- a/Jellyfin.Api/Controllers/YearsController.cs +++ b/Jellyfin.Api/Controllers/YearsController.cs @@ -113,11 +113,11 @@ public class YearsController : BaseJellyfinApiController if (userId.IsNullOrEmpty()) { - items = recursive ? folder.GetRecursiveChildren(Filter) : folder.Children.Where(Filter).ToImmutableList(); + items = recursive ? folder.GetRecursiveChildren(Filter) : folder.Children.Where(Filter).ToImmutableArray(); } else { - items = recursive ? folder.GetRecursiveChildren(user, query) : folder.GetChildren(user, true).Where(Filter).ToImmutableList(); + items = recursive ? folder.GetRecursiveChildren(user, query) : folder.GetChildren(user, true).Where(Filter).ToImmutableArray(); } } else |
