diff options
author | Florian Dold <florian@dold.me> | 2024-01-08 12:22:32 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2024-01-08 12:22:32 +0100 |
commit | 82cea86785fc9ab6aa5440cc077e8f2024b33c13 (patch) | |
tree | 9eb2860b80a8637052c1ced1e4f315b6100c4a9d /packages/taler-util | |
parent | 06fb3a5c910b5be37fbd386a5e42588903bece9b (diff) | |
download | wallet-core-82cea86785fc9ab6aa5440cc077e8f2024b33c13.tar.xz |
harness: make libeufin-bank test work with current libeufin-bank
Diffstat (limited to 'packages/taler-util')
-rw-r--r-- | packages/taler-util/src/bank-api-client.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/taler-util/src/bank-api-client.ts b/packages/taler-util/src/bank-api-client.ts index 14c9b5f3f..bc01dc8e8 100644 --- a/packages/taler-util/src/bank-api-client.ts +++ b/packages/taler-util/src/bank-api-client.ts @@ -300,6 +300,7 @@ export class TalerCorebankApiClient { const resp = await this.httpLib.fetch(url.href, { method: "POST", body: req, + headers: this.makeAuthHeader(), }); if ( @@ -334,6 +335,7 @@ export class TalerCorebankApiClient { password, name: username, }, + headers: this.makeAuthHeader(), }); if ( resp.status !== 200 && @@ -414,9 +416,7 @@ export class TalerCorebankApiClient { // FIXME: We don't check the status here! } - async abortWithdrawalOperation( - wopi: WithdrawalOperationInfo, - ): Promise<void> { + async abortWithdrawalOperation(wopi: WithdrawalOperationInfo): Promise<void> { const url = new URL( `withdrawals/${wopi.withdrawal_id}/abort`, this.baseUrl, |