diff --git a/Helpers/FluentBlobStorage.cs b/Helpers/FluentBlobStorage.cs index deb11f0..b29acca 100644 --- a/Helpers/FluentBlobStorage.cs +++ b/Helpers/FluentBlobStorage.cs @@ -102,7 +102,7 @@ public FluentBlobStorage WithContentType(string contentType) BlobContainerClient containerClient = blobServiceClient.GetBlobContainerClient(ContainerName); BlobClient blobClient = containerClient.GetBlobClient(FileName); - var res = await blobClient.UploadAsync(Convert.FromBase64String(b64), Headers); + var res = await blobClient.UploadAsync(new MemoryStream(Convert.FromBase64String(b64)), Headers); return (blobClient.Uri, res); }