mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
fix(archival): 🐛 resolve CA2016 warning
This commit is contained in:
parent
d0f95a112e
commit
6f5f05b2a8
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue