Skip to content

Commit e653680

Browse files
committed
fix
1 parent 20d3e8f commit e653680

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/Extensions/AzureBlobPayloads/Converters/BlobPayloadStore.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
using System.Globalization;
55
using System.IO.Compression;
66
using System.Text;
7-
using Azure;
87
using Azure.Storage.Blobs;
98
using Azure.Storage.Blobs.Models;
109

@@ -71,7 +70,7 @@ public async Task<string> DownloadAsync(string token, CancellationToken cancella
7170
}
7271

7372
BlobClient blob = this.containerClient.GetBlobClient(name);
74-
using BlobDownloadStreamingResult result = await blob.DownloadStreamingAsync(cancellationToken);
73+
using BlobDownloadStreamingResult result = await blob.DownloadStreamingAsync(cancellationToken: cancellationToken);
7574
using GZipStream decompressedBlobStream = new GZipStream(result.Content, CompressionMode.Decompress);
7675
using StreamReader reader = new(decompressedBlobStream, Encoding.UTF8);
7776
return await reader.ReadToEndAsync();
@@ -96,5 +95,3 @@ public async Task<string> DownloadAsync(string token, CancellationToken cancella
9695
return (rest.Substring(0, sep), rest.Substring(sep + 1));
9796
}
9897
}
99-
100-

0 commit comments

Comments
 (0)