aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--routes/payments.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/routes/payments.ts b/routes/payments.ts
index 79023729..ea968548 100644
--- a/routes/payments.ts
+++ b/routes/payments.ts
@@ -581,10 +581,11 @@ export default {
async lnaddress(req, res) {
let {
- params: { lnaddress, amount, fee },
+ params: { lnaddress, amount },
body,
user,
} = req;
+ const { fee } = body;
try {
lnaddress = decodeURIComponent(lnaddress);
await requirePin({ body, user });