diff options
| author | Florian Dold <florian@dold.me> | 2022-01-05 15:38:43 +0100 | 
|---|---|---|
| committer | Florian Dold <florian@dold.me> | 2022-01-05 16:48:22 +0100 | 
| commit | dc040ba41cd6d66fa63b33ed1adfc80f7e6a6861 (patch) | |
| tree | 4a631b6a7cb879f75258e7b651eb7e371ee27a10 /packages/taler-wallet-cli/src | |
| parent | 6e9885441162586abeb64425568273e32e851677 (diff) | |
update dependencies to fix rollup issue
Diffstat (limited to 'packages/taler-wallet-cli/src')
| -rw-r--r-- | packages/taler-wallet-cli/src/harness/harness.ts | 6 | 
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/taler-wallet-cli/src/harness/harness.ts b/packages/taler-wallet-cli/src/harness/harness.ts index 37a192db6..0f2e61a3d 100644 --- a/packages/taler-wallet-cli/src/harness/harness.ts +++ b/packages/taler-wallet-cli/src/harness/harness.ts @@ -1609,7 +1609,7 @@ export namespace MerchantPrivateApi {      const baseUrl = merchantService.makeInstanceBaseUrl(instanceName);      let url = new URL("private/orders", baseUrl);      const resp = await axios.post(url.href, req, { -      headers: withAuthorization, +      headers: withAuthorization as Record<string, string>,      });      return codecForPostOrderResponse().decode(resp.data);    } @@ -1626,7 +1626,9 @@ export namespace MerchantPrivateApi {      if (query.sessionId) {        reqUrl.searchParams.set("session_id", query.sessionId);      } -    const resp = await axios.get(reqUrl.href, { headers: withAuthorization }); +    const resp = await axios.get(reqUrl.href, { +      headers: withAuthorization as Record<string, string>, +    });      return codecForMerchantOrderPrivateStatusResponse().decode(resp.data);    }  | 
