diff options
author | Florian Dold <florian@dold.me> | 2023-10-06 14:42:32 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-10-06 14:42:32 +0200 |
commit | 97d7be7503168f4f3bbd05905d32aa76ca1636b2 (patch) | |
tree | ce4e794716b8635f3d871e9e09fb71737d8def96 /packages/taler-wallet-core/src/dbless.ts | |
parent | 851b2da39c3297ede3d267f3d2534cac213261c1 (diff) | |
download | wallet-core-97d7be7503168f4f3bbd05905d32aa76ca1636b2.tar.xz |
rename to corebank API
Diffstat (limited to 'packages/taler-wallet-core/src/dbless.ts')
-rw-r--r-- | packages/taler-wallet-core/src/dbless.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/taler-wallet-core/src/dbless.ts b/packages/taler-wallet-core/src/dbless.ts index 0d702a00c..4fc890788 100644 --- a/packages/taler-wallet-core/src/dbless.ts +++ b/packages/taler-wallet-core/src/dbless.ts @@ -109,7 +109,7 @@ export async function checkReserve( export interface TopupReserveWithDemobankArgs { http: HttpRequestLibrary; reservePub: string; - bankAccessApiBaseUrl: string; + corebankApiBaseUrl: string; exchangeInfo: ExchangeInfo; amount: AmountString; } @@ -117,8 +117,8 @@ export interface TopupReserveWithDemobankArgs { export async function topupReserveWithDemobank( args: TopupReserveWithDemobankArgs, ) { - const { http, bankAccessApiBaseUrl, amount, exchangeInfo, reservePub } = args; - const bankClient = new TalerCorebankApiClient(bankAccessApiBaseUrl); + const { http, corebankApiBaseUrl, amount, exchangeInfo, reservePub } = args; + const bankClient = new TalerCorebankApiClient(corebankApiBaseUrl); const bankUser = await bankClient.createRandomBankUser(); const wopi = await bankClient.createWithdrawalOperation( bankUser.username, |