mirror of
https://github.com/bitwarden/server.git
synced 2024-11-22 12:15:36 +01:00
we dont need to SetPropertiesAsync on upload
This commit is contained in:
parent
7c36984609
commit
a9195942fd
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user