Call async methods when in an async method

pull/1417/head
Qstick 2 years ago
parent acf7a425b5
commit fcb3c96455

@ -113,7 +113,7 @@ namespace NzbDrone.Common.Http.Dispatchers
{ {
if (request.ResponseStream != null && responseMessage.StatusCode == HttpStatusCode.OK) if (request.ResponseStream != null && responseMessage.StatusCode == HttpStatusCode.OK)
{ {
responseMessage.Content.CopyTo(request.ResponseStream, null, cts.Token); await responseMessage.Content.CopyToAsync(request.ResponseStream, null, cts.Token);
} }
else else
{ {

Loading…
Cancel
Save