Skip to content

Commit

Permalink
Correction upload
Browse files Browse the repository at this point in the history
  • Loading branch information
titouancreach committed Oct 7, 2022
1 parent f340f50 commit e07e153
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Helpers/FluentBlobStorage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit e07e153

Please sign in to comment.