diff options
| author | Tim Eisele <Tim_Eisele@web.de> | 2025-06-18 23:08:05 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-18 23:08:05 +0200 |
| commit | 989aef18af13bf3f52288a7576033d7334f0702c (patch) | |
| tree | 4fa3d1277622a33297438598b8a3f2f0af489b80 /Jellyfin.Server.Implementations/Item/BaseItemRepository.cs | |
| parent | ccb917b8df4c6ff80530fdd9fb6fdc23871bab51 (diff) | |
Update Jellyfin.Server.Implementations/Item/BaseItemRepository.cs
Co-authored-by: Niels van Velzen <nielsvanvelzen@users.noreply.github.com>
Diffstat (limited to 'Jellyfin.Server.Implementations/Item/BaseItemRepository.cs')
| -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 06d9f0e0f..199d1d02c 100644 --- a/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs +++ b/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs @@ -1060,7 +1060,7 @@ public sealed class BaseItemRepository if (dto is null) { - dto = Activator.CreateInstance(type) as BaseItemDto ?? throw new InvalidOperationException("Cannot Deserialize unknown type."); + dto = Activator.CreateInstance(type) as BaseItemDto ?? throw new InvalidOperationException("Cannot deserialize unknown type."); } return Map(baseItemEntity, dto, appHost); |
