aboutsummaryrefslogtreecommitdiff
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
parentac9dc1845ad9f1f3ff644081af26b19894d8adb2 (diff)
-rename
-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: {