1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-03-05 13:21:25 -05:00

Use await on reading the response content

(cherry picked from commit 82d586e7015d7ea06356ca436024a8af5a4fb677)
This commit is contained in:
Bogdan
2023-08-30 22:11:27 +03:00
parent cff54d76b9
commit 608e2e7307

View File

@@ -114,7 +114,7 @@ namespace NzbDrone.Common.Http.Dispatchers
}
else
{
data = responseMessage.Content.ReadAsByteArrayAsync(cts.Token).GetAwaiter().GetResult();
data = await responseMessage.Content.ReadAsByteArrayAsync(cts.Token);
}
}
catch (Exception ex)