commit dcbdddc32e2f3ffdebce69b03fcf678a27ef8a34
parent ac9dc1845ad9f1f3ff644081af26b19894d8adb2
Author: Florian Dold <florian@dold.me>
Date: Mon, 20 Feb 2023 01:49:43 +0100
-rename
Diffstat:
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
@@ -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: {