diff options
author | Florian Dold <florian@dold.me> | 2021-01-07 19:50:53 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-01-07 19:50:53 +0100 |
commit | 324f44ae6954ef7a75a67838a7f0cbf2a6dc6d76 (patch) | |
tree | 184150b6df991960cd3fb4356544dab8cc655ed7 /packages/taler-wallet-core/src/headless/NodeHttpLib.ts | |
parent | 265034104241eabffab32693f3a5a1af85cd7749 (diff) | |
download | wallet-core-324f44ae6954ef7a75a67838a7f0cbf2a6dc6d76.tar.xz |
backup cycle
Diffstat (limited to 'packages/taler-wallet-core/src/headless/NodeHttpLib.ts')
-rw-r--r-- | packages/taler-wallet-core/src/headless/NodeHttpLib.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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; |