fix: amount not passed in request from zero amount payment screen (#1656)

This commit is contained in:
Roland 2025-08-28 15:34:14 +07:00 committed by GitHub
parent 57d71bdc42
commit 660db06815
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -43,6 +43,9 @@ export default function ZeroAmount() {
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify({
amount: +amount * 1000,
}),
}
);
if (!payInvoiceResponse?.preimage) {