Browse Source

Add missing ConfigureAwait call

Patrick Barron 4 years ago
parent
commit
3123ea2a94
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Jellyfin.Api/Controllers/DevicesController.cs

+ 1 - 1
Jellyfin.Api/Controllers/DevicesController.cs

@@ -47,7 +47,7 @@ namespace Jellyfin.Api.Controllers
         [ProducesResponseType(StatusCodes.Status200OK)]
         public async Task<ActionResult<QueryResult<DeviceInfo>>> GetDevices([FromQuery] bool? supportsSync, [FromQuery] Guid? userId)
         {
-            return await _deviceManager.GetDevicesForUser(userId, supportsSync);
+            return await _deviceManager.GetDevicesForUser(userId, supportsSync).ConfigureAwait(false);
         }
 
         /// <summary>