mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Update Jellyfin.Server.Implementations/Item/BaseItemRepository.cs
Co-authored-by: Niels van Velzen <nielsvanvelzen@users.noreply.github.com>
This commit is contained in:
parent
ccb917b8df
commit
989aef18af
@ -1060,7 +1060,7 @@ public sealed class BaseItemRepository
|
|||||||
|
|
||||||
if (dto is null)
|
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);
|
return Map(baseItemEntity, dto, appHost);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user