diff --git a/crates/bitwarden/src/vault/cipher/attachment.rs b/crates/bitwarden/src/vault/cipher/attachment.rs index 4fc32fce4..679daf006 100644 --- a/crates/bitwarden/src/vault/cipher/attachment.rs +++ b/crates/bitwarden/src/vault/cipher/attachment.rs @@ -70,7 +70,7 @@ impl TryFrom for Attachment Ok(Self { id: attachment.id, url: attachment.url, - size: attachment.size.map(|s| s.to_string()), + size: attachment.size, size_name: attachment.size_name, file_name: EncString::try_from(attachment.file_name)?, key: EncString::try_from(attachment.key)?,