diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-08-19 19:39:21 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-08-19 19:39:21 +0530 |
commit | f7299a1aa0952490629588aa5a853999684b3fb9 (patch) | |
tree | 9027302ca185328f3cd17ae879390e27a4f521b7 /packages/taler-wallet-webextension/src/wxApi.ts | |
parent | 0f390477f3b4022d8434668ea9aee014ff9f7ec0 (diff) | |
download | wallet-core-f7299a1aa0952490629588aa5a853999684b3fb9.tar.xz |
make basic withdrawal and payment work again with new API
Diffstat (limited to 'packages/taler-wallet-webextension/src/wxApi.ts')
-rw-r--r-- | packages/taler-wallet-webextension/src/wxApi.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/taler-wallet-webextension/src/wxApi.ts b/packages/taler-wallet-webextension/src/wxApi.ts index 836466ff3..dc78686ad 100644 --- a/packages/taler-wallet-webextension/src/wxApi.ts +++ b/packages/taler-wallet-webextension/src/wxApi.ts @@ -98,7 +98,7 @@ export function confirmPay( proposalId: string, sessionId: string | undefined, ): Promise<ConfirmPayResult> { - return callBackend("confirm-pay", { proposalId, sessionId }); + return callBackend("confirmPay", { proposalId, sessionId }); } /** @@ -184,7 +184,7 @@ export function benchmarkCrypto(repetitions: number): Promise<BenchmarkResult> { * Get details about a pay operation. */ export function preparePay(talerPayUri: string): Promise<PreparePayResult> { - return callBackend("prepare-pay", { talerPayUri }); + return callBackend("preparePay", { talerPayUri }); } /** @@ -194,9 +194,9 @@ export function acceptWithdrawal( talerWithdrawUri: string, selectedExchange: string, ): Promise<AcceptWithdrawalResponse> { - return callBackend("accept-withdrawal", { + return callBackend("acceptBankIntegratedWithdrawal", { talerWithdrawUri, - selectedExchange, + exchangeBaseUrl: selectedExchange, }); } |