aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Data
diff options
context:
space:
mode:
authorJPVenson <github@jpb.email>2024-10-10 15:27:13 +0000
committerJPVenson <github@jpb.email>2024-10-10 15:27:13 +0000
commit441b99518988212a84070dffe1ef51d6faa4e0af (patch)
treef53208ca567dd28c52d2bdd51c901a27bf84b9ec /Emby.Server.Implementations/Data
parentf58a24f005a74beab9367fd0125f12b499d8af3e (diff)
Applied Review Suggestions
Diffstat (limited to 'Emby.Server.Implementations/Data')
-rw-r--r--Emby.Server.Implementations/Data/ItemTypeLookup.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Data/ItemTypeLookup.cs b/Emby.Server.Implementations/Data/ItemTypeLookup.cs
index b66e7f5d9..df0f4ea20 100644
--- a/Emby.Server.Implementations/Data/ItemTypeLookup.cs
+++ b/Emby.Server.Implementations/Data/ItemTypeLookup.cs
@@ -1,4 +1,5 @@
using System;
+using System.Collections.Frozen;
using System.Collections.Generic;
using System.Threading.Channels;
using Emby.Server.Implementations.Playlists;
@@ -116,5 +117,5 @@ public class ItemTypeLookup : IItemTypeLookup
{ BaseItemKind.UserView, typeof(UserView).FullName },
{ BaseItemKind.Video, typeof(Video).FullName },
{ BaseItemKind.Year, typeof(Year).FullName }
- }.AsReadOnly();
+ }.ToFrozenDictionary();
}