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

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
This commit is contained in:
Patrick Barron 2021-08-31 10:57:48 -04:00 committed by GitHub
parent 8a1e55251e
commit cb52ccc699
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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