packages/turso-serverless: Fix blob type handling

This commit is contained in:
Pekka Enberg
2025-08-22 10:49:57 +03:00
parent 2c68613709
commit 9aff35e5af

View File

@@ -147,7 +147,7 @@ export function decodeValue(value: Value, safeIntegers: boolean = false): any {
for (let i = 0; i < binaryString.length; i++) {
bytes[i] = binaryString.charCodeAt(i);
}
return bytes;
return Buffer.from(bytes);
}
return null;
default: