fix(archival): 🐛 resolve CA2016 warning

This commit is contained in:
Collin M. Barrett 2020-11-13 19:24:49 -06:00
parent d0f95a112e
commit 6f5f05b2a8

View file

@ -33,7 +33,7 @@ public async Task<Stream> GetContentAsync(Uri url, CancellationToken cancellatio
try
{
response.EnsureSuccessStatusCode();
return await response.Content.ReadAsStreamAsync();
return await response.Content.ReadAsStreamAsync(cancellationToken);
}
catch (HttpRequestException ex)
{