Update Jellyfin.Server.Implementations/Item/BaseItemRepository.cs

Co-authored-by: Niels van Velzen <nielsvanvelzen@users.noreply.github.com>
This commit is contained in:
Tim Eisele 2025-06-18 23:08:05 +02:00 committed by GitHub
parent ccb917b8df
commit 989aef18af
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);