From 989aef18af13bf3f52288a7576033d7334f0702c Mon Sep 17 00:00:00 2001 From: Tim Eisele Date: Wed, 18 Jun 2025 23:08:05 +0200 Subject: [PATCH] Update Jellyfin.Server.Implementations/Item/BaseItemRepository.cs Co-authored-by: Niels van Velzen --- Jellyfin.Server.Implementations/Item/BaseItemRepository.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs b/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs index 06d9f0e0fb..199d1d02ca 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);