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

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
pull/6201/head
Patrick Barron 3 years ago committed by GitHub
parent 8a1e55251e
commit cb52ccc699
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save