diff options
Diffstat (limited to 'packages/taler-util/src/bank-api-client.ts')
-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, |