Browse Source

Fixed tests

JPVenson 8 tháng trước cách đây
mục cha
commit
e331dc35ac
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Emby.Server.Implementations/Library/UserDataManager.cs

+ 1 - 1
Emby.Server.Implementations/Library/UserDataManager.cs

@@ -185,7 +185,7 @@ namespace Emby.Server.Implementations.Library
         {
             using var context = _repository.CreateDbContext();
             var key = keys.FirstOrDefault();
-            if (key is null || Guid.TryParse(key, out var itemId))
+            if (key is null || !Guid.TryParse(key, out var itemId))
             {
                 return null;
             }