From a9195942fd1839ca108d895e792a119bda7cf66e Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Fri, 9 Nov 2018 09:47:10 -0500 Subject: [PATCH] we dont need to SetPropertiesAsync on upload --- .../Services/Implementations/AzureAttachmentStorageService.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Core/Services/Implementations/AzureAttachmentStorageService.cs b/src/Core/Services/Implementations/AzureAttachmentStorageService.cs index 0d535a5e4c..1c20cf4351 100644 --- a/src/Core/Services/Implementations/AzureAttachmentStorageService.cs +++ b/src/Core/Services/Implementations/AzureAttachmentStorageService.cs @@ -45,7 +45,6 @@ namespace Bit.Core.Services blob.Metadata.Add("cipherId", cipherId.ToString()); blob.Metadata.Add("organizationId", organizationId.ToString()); blob.Properties.ContentDisposition = $"attachment; filename=\"{attachmentId}\""; - await blob.SetPropertiesAsync(); await blob.UploadFromStreamAsync(stream); }