fix cache update option name on qr

This commit is contained in:
k00b 2024-11-28 14:23:41 -06:00
parent 404cf188b3
commit 9caeca00df
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ export function usePaidMutation (mutation,
const paymentAttempted = walletError instanceof WalletPaymentError
if (paymentAttempted) {
walletInvoice = await invoiceHelper.retry(walletInvoice, { updateOnFallback })
walletInvoice = await invoiceHelper.retry(walletInvoice, { update: updateOnFallback })
}
return await waitForQrPayment(walletInvoice, walletError, { persistOnNavigate, waitFor })
}, [waitForWalletPayment, waitForQrPayment, invoiceHelper])