Преглед на файлове

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

Co-authored-by: Niels van Velzen <nielsvanvelzen@users.noreply.github.com>
Tim Eisele преди 4 дни
родител
ревизия
989aef18af
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      Jellyfin.Server.Implementations/Item/BaseItemRepository.cs

+ 1 - 1
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);