From 324f44ae6954ef7a75a67838a7f0cbf2a6dc6d76 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 7 Jan 2021 19:50:53 +0100 Subject: backup cycle --- packages/taler-wallet-core/src/headless/NodeHttpLib.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/taler-wallet-core/src/headless') diff --git a/packages/taler-wallet-core/src/headless/NodeHttpLib.ts b/packages/taler-wallet-core/src/headless/NodeHttpLib.ts index 68a549274..95626cc4d 100644 --- a/packages/taler-wallet-core/src/headless/NodeHttpLib.ts +++ b/packages/taler-wallet-core/src/headless/NodeHttpLib.ts @@ -133,7 +133,7 @@ export class NodeHttpLib implements HttpRequestLibrary { return responseJson; }; const makeBytes = async () => { - if (!(resp.data instanceof ArrayBuffer)) { + if (typeof resp.data.byteLength !== "number") { throw Error("expected array buffer"); } const buf = resp.data; -- cgit v1.2.3