aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/DevicesController.cs
diff options
context:
space:
mode:
authorAnthony Lavado <anthonylavado@me.com>2020-08-19 08:17:03 -0400
committerGitHub <noreply@github.com>2020-08-19 08:17:03 -0400
commit634ee2d1e913277ea8f419aca9d91a8e58426642 (patch)
treed521b315893a1daf09da62c55292b3eab00e270e /Jellyfin.Api/Controllers/DevicesController.cs
parent93fe595e5e9863874c1973e4f2d7f3c85549d3f9 (diff)
parent3a722740ceb83d796a7111ae40b2b67d6a313465 (diff)
Merge pull request #3861 from crobibero/fixes
API Fixes
Diffstat (limited to 'Jellyfin.Api/Controllers/DevicesController.cs')
-rw-r--r--Jellyfin.Api/Controllers/DevicesController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/DevicesController.cs b/Jellyfin.Api/Controllers/DevicesController.cs
index 23d10e215..1aed20ade 100644
--- a/Jellyfin.Api/Controllers/DevicesController.cs
+++ b/Jellyfin.Api/Controllers/DevicesController.cs
@@ -48,7 +48,7 @@ namespace Jellyfin.Api.Controllers
[HttpGet]
[Authorize(Policy = Policies.RequiresElevation)]
[ProducesResponseType(StatusCodes.Status200OK)]
- public ActionResult<QueryResult<DeviceInfo>> GetDevices([FromQuery] bool? supportsSync, [FromQuery, Required] Guid? userId)
+ public ActionResult<QueryResult<DeviceInfo>> GetDevices([FromQuery] bool? supportsSync, [FromQuery] Guid? userId)
{
var deviceQuery = new DeviceQuery { SupportsSync = supportsSync, UserId = userId ?? Guid.Empty };
return _deviceManager.GetDevices(deviceQuery);