mirror of
https://github.com/bitwarden/server
synced 2025-12-16 16:23:31 +00:00
we dont need to SetPropertiesAsync on upload
This commit is contained in:
@@ -45,7 +45,6 @@ namespace Bit.Core.Services
|
|||||||
blob.Metadata.Add("cipherId", cipherId.ToString());
|
blob.Metadata.Add("cipherId", cipherId.ToString());
|
||||||
blob.Metadata.Add("organizationId", organizationId.ToString());
|
blob.Metadata.Add("organizationId", organizationId.ToString());
|
||||||
blob.Properties.ContentDisposition = $"attachment; filename=\"{attachmentId}\"";
|
blob.Properties.ContentDisposition = $"attachment; filename=\"{attachmentId}\"";
|
||||||
await blob.SetPropertiesAsync();
|
|
||||||
await blob.UploadFromStreamAsync(stream);
|
await blob.UploadFromStreamAsync(stream);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user