Skip to content
Snippets Groups Projects
Commit ae8e92cf authored by Adiv Asif's avatar Adiv Asif
Browse files

Merged PR 7: fixup

fixup
parents aff64619 01150c6a
No related branches found
No related tags found
No related merge requests found
...@@ -45,8 +45,7 @@ public class StorageService : IStorageService ...@@ -45,8 +45,7 @@ public class StorageService : IStorageService
await clone.SaveAsJpegAsync(croppedImage); await clone.SaveAsJpegAsync(croppedImage);
croppedImage.Position = 0; croppedImage.Position = 0;
var blob = await GetBlobReference(containerName, fileName); var blob = await GetBlobReference(containerName, fileName);
await blob.SetHttpHeadersAsync(new BlobHttpHeaders {ContentType = "image/jpeg"}); await blob.UploadAsync(croppedImage, new BlobHttpHeaders {ContentType = "image/jpeg"});
await blob.UploadAsync(croppedImage);
return blob.Uri; 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