diff options
| author | Tim Eisele <Tim_Eisele@web.de> | 2025-06-19 11:40:40 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-19 11:40:40 +0200 |
| commit | b2312466e11be93ea482d41630a9a2de669cec11 (patch) | |
| tree | 0798cd13aabfb4c937111f4edeb03f547cabab29 /Jellyfin.Server.Implementations | |
| parent | 989aef18af13bf3f52288a7576033d7334f0702c (diff) | |
Update Jellyfin.Server.Implementations/Item/BaseItemRepository.cs
Co-authored-by: Bond-009 <bond.009@outlook.com>
Diffstat (limited to 'Jellyfin.Server.Implementations')
| -rw-r--r-- | Jellyfin.Server.Implementations/Item/BaseItemRepository.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs b/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs index 199d1d02c..cebaaadd5 100644 --- a/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs +++ b/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs @@ -1044,7 +1044,7 @@ public sealed class BaseItemRepository /// <exception cref="InvalidOperationException">Will be thrown if an invalid serialisation is requested.</exception> public static BaseItemDto DeserializeBaseItem(BaseItemEntity baseItemEntity, ILogger logger, IServerApplicationHost? appHost, bool skipDeserialization = false) { - var type = GetType(baseItemEntity.Type) ?? throw new InvalidOperationException("Cannot Deserialize unknown type."); + var type = GetType(baseItemEntity.Type) ?? throw new InvalidOperationException("Cannot deserialize unknown type."); BaseItemDto? dto = null; if (TypeRequiresDeserialization(type) && baseItemEntity.Data is not null && !skipDeserialization) { |
