diff options
author | Florian Dold <florian@dold.me> | 2023-04-22 18:36:56 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-04-22 18:36:56 +0200 |
commit | da59c85d2da6541ba54578adb43db1e4bf12dafa (patch) | |
tree | 1c6184260cbf40c0d0724e9a90a3cbcbb83976d0 /packages/taler-wallet-core | |
parent | 15feebecfeeda4758a96d1da99a98d9494c4bd2b (diff) | |
download | wallet-core-da59c85d2da6541ba54578adb43db1e4bf12dafa.tar.xz |
get rid of deprecated bankBaseUrl in more places
Diffstat (limited to 'packages/taler-wallet-core')
-rw-r--r-- | packages/taler-wallet-core/src/bank-api-client.ts | 7 | ||||
-rw-r--r-- | packages/taler-wallet-core/src/dbless.ts | 3 |
2 files changed, 1 insertions, 9 deletions
diff --git a/packages/taler-wallet-core/src/bank-api-client.ts b/packages/taler-wallet-core/src/bank-api-client.ts index ac8eedc27..33f12172b 100644 --- a/packages/taler-wallet-core/src/bank-api-client.ts +++ b/packages/taler-wallet-core/src/bank-api-client.ts @@ -57,10 +57,6 @@ export interface BankAccountBalanceResponse { } export interface BankServiceHandle { - /** - * @deprecated - */ - readonly baseUrl: string; readonly bankAccessApiBaseUrl: string; readonly http: HttpRequestLibrary; } @@ -155,10 +151,9 @@ export namespace BankApi { debitAccountPayto: string; }, ) { - let maybeBaseUrl = bank.baseUrl; let url = new URL( `taler-wire-gateway/${params.exchangeBankAccount.accountName}/admin/add-incoming`, - maybeBaseUrl, + bank.bankAccessApiBaseUrl, ); await bank.http.postJson( url.href, diff --git a/packages/taler-wallet-core/src/dbless.ts b/packages/taler-wallet-core/src/dbless.ts index 3fb56924d..87e3984b6 100644 --- a/packages/taler-wallet-core/src/dbless.ts +++ b/packages/taler-wallet-core/src/dbless.ts @@ -112,7 +112,6 @@ export async function checkReserve( export interface TopupReserveWithDemobankArgs { http: HttpRequestLibrary; reservePub: string; - bankBaseUrl: string; bankAccessApiBaseUrl: string; exchangeInfo: ExchangeInfo; amount: AmountString; @@ -122,7 +121,6 @@ export async function topupReserveWithDemobank( args: TopupReserveWithDemobankArgs, ) { const { - bankBaseUrl, http, bankAccessApiBaseUrl, amount, @@ -130,7 +128,6 @@ export async function topupReserveWithDemobank( reservePub, } = args; const bankHandle: BankServiceHandle = { - baseUrl: bankBaseUrl, bankAccessApiBaseUrl: bankAccessApiBaseUrl, http, }; |