summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-webextension/src/cta
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-02-20 01:49:43 +0100
committerFlorian Dold <florian@dold.me>2023-02-20 01:49:43 +0100
commitdcbdddc32e2f3ffdebce69b03fcf678a27ef8a34 (patch)
tree95a83fa274bfdc1425873963521bd8b38ff27447 /packages/taler-wallet-webextension/src/cta
parentac9dc1845ad9f1f3ff644081af26b19894d8adb2 (diff)
downloadwallet-core-dcbdddc32e2f3ffdebce69b03fcf678a27ef8a34.tar.gz
wallet-core-dcbdddc32e2f3ffdebce69b03fcf678a27ef8a34.tar.bz2
wallet-core-dcbdddc32e2f3ffdebce69b03fcf678a27ef8a34.zip
-rename
Diffstat (limited to 'packages/taler-wallet-webextension/src/cta')
-rw-r--r--packages/taler-wallet-webextension/src/cta/InvoiceCreate/state.ts4
1 files 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: {