From dcbdddc32e2f3ffdebce69b03fcf678a27ef8a34 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 20 Feb 2023 01:49:43 +0100 Subject: [PATCH] -rename --- .../taler-wallet-webextension/src/cta/InvoiceCreate/state.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/taler-wallet-webextension/src/cta/InvoiceCreate/state.ts b/packages/taler-wallet-webextension/src/cta/InvoiceCreate/state.ts index 670a67599..73cb61b52 100644 --- a/packages/taler-wallet-webextension/src/cta/InvoiceCreate/state.ts +++ b/packages/taler-wallet-webextension/src/cta/InvoiceCreate/state.ts @@ -83,7 +83,7 @@ export function useComponentState({ const hook = useAsyncAsHook(async () => { const resp = await api.wallet.call( - WalletApiOperation.PreparePeerPullPayment, + WalletApiOperation.CheckPeerPullCredit, { amount: amountStr, exchangeBaseUrl: exchange.exchangeBaseUrl, @@ -143,7 +143,7 @@ export function useComponentState({ if (!subject || !purse_expiration) return; const resp = await api.wallet.call( - WalletApiOperation.InitiatePeerPullPayment, + WalletApiOperation.InitiatePeerPullCredit, { exchangeBaseUrl: exchange.exchangeBaseUrl, partialContractTerms: {