Handle binary data in load cell from file by converting Buffer to base64

This commit is contained in:
Stela Augustinova
2025-11-12 17:03:35 +01:00
parent 94b35e3d5f
commit a14c08f122

View File

@@ -799,8 +799,9 @@
isText
? data
: {
type: 'Buffer',
data: [...data],
$binary: {
base64: data.toString('base64'),
},
}
);
}