Explorar o código

Update Jellyfin.Server.Implementations/Devices/DeviceManager.cs

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
Patrick Barron %!s(int64=3) %!d(string=hai) anos
pai
achega
cb52ccc699
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Jellyfin.Server.Implementations/Devices/DeviceManager.cs

+ 1 - 1
Jellyfin.Server.Implementations/Devices/DeviceManager.cs

@@ -206,7 +206,7 @@ namespace Jellyfin.Server.Implementations.Devices
         {
             if (user == null)
             {
-                throw new ArgumentException("user not found");
+                throw new ArgumentNullException(nameof(user));
             }
 
             if (string.IsNullOrEmpty(deviceId))