fix: ensure attachment size is formatted as string for compatibility with Bitwarden clients

This commit is contained in:
shuaiplus
2026-02-23 14:07:11 +08:00
parent cd7b5a361c
commit 874d31e86b
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -198,7 +198,7 @@ export async function handleGetAttachment(
url: downloadUrl,
fileName: attachment.fileName,
key: attachment.key,
size: Number(attachment.size) || 0,
size: String(Number(attachment.size) || 0),
sizeName: attachment.sizeName,
});
}