Use await on reading the response content

pull/6020/head
Bogdan 1 year ago committed by Mark McDowall
parent ad1f185330
commit 82d586e701

@ -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)

Loading…
Cancel
Save