Browse Source

Add missing ConfigureAwait call

Patrick Barron 4 năm trước cách đây
mục cha
commit
3123ea2a94
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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>