Skip to content
Snippets Groups Projects
Commit 01150c6a authored by Adiv's avatar Adiv
Browse files

fixup

parent 05cc1d2e
No related branches found
No related tags found
No related merge requests found
......@@ -45,8 +45,7 @@ public class StorageService : IStorageService
await clone.SaveAsJpegAsync(croppedImage);
croppedImage.Position = 0;
var blob = await GetBlobReference(containerName, fileName);
await blob.SetHttpHeadersAsync(new BlobHttpHeaders {ContentType = "image/jpeg"});
await blob.UploadAsync(croppedImage);
await blob.UploadAsync(croppedImage, new BlobHttpHeaders {ContentType = "image/jpeg"});
return blob.Uri;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment