mirror of https://github.com/jellyfin/jellyfin.git
Update Jellyfin.Server.Implementations/Devices/DeviceManager.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
This commit is contained in:
parent
8a1e55251e
commit
cb52ccc699
|
@ -206,7 +206,7 @@ namespace Jellyfin.Server.Implementations.Devices
|
||||||
{
|
{
|
||||||
if (user == null)
|
if (user == null)
|
||||||
{
|
{
|
||||||
throw new ArgumentException("user not found");
|
throw new ArgumentNullException(nameof(user));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (string.IsNullOrEmpty(deviceId))
|
if (string.IsNullOrEmpty(deviceId))
|
||||||
|
|
Loading…
Reference in New Issue