diff options
| author | Patrick Barron <barronpm@gmail.com> | 2021-06-27 16:42:26 -0400 |
|---|---|---|
| committer | Patrick Barron <barronpm@gmail.com> | 2021-06-27 16:42:26 -0400 |
| commit | bbac9ff67e60d243dbd05be60abfcf13c295cd84 (patch) | |
| tree | fdf34a0f712e3feb97b014eb51a90172c837e88d /Jellyfin.Api/Controllers/DevicesController.cs | |
| parent | d3e02e918d5586b0b8c74f1b79a13b76a978defd (diff) | |
GetDeviceOptions always returns an instance of DeviceOptions
Diffstat (limited to 'Jellyfin.Api/Controllers/DevicesController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/DevicesController.cs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Jellyfin.Api/Controllers/DevicesController.cs b/Jellyfin.Api/Controllers/DevicesController.cs index d4c2dbba0..26b9a854d 100644 --- a/Jellyfin.Api/Controllers/DevicesController.cs +++ b/Jellyfin.Api/Controllers/DevicesController.cs @@ -107,12 +107,6 @@ namespace Jellyfin.Api.Controllers [FromQuery, Required] string id, [FromBody, Required] DeviceOptions deviceOptions) { - var existingDeviceOptions = await _deviceManager.GetDeviceOptions(id).ConfigureAwait(false); - if (existingDeviceOptions == null) - { - return NotFound(); - } - await _deviceManager.UpdateDeviceOptions(id, deviceOptions).ConfigureAwait(false); return NoContent(); } |
