From 22d2777bb6bf9e5eb61fd14c05d8ae9ae7586481 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 17 Oct 2022 21:11:08 +0000 Subject: rm hostname --- routes/lnurl.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/routes/lnurl.js b/routes/lnurl.js index 683899b0..2a7cb772 100644 --- a/routes/lnurl.js +++ b/routes/lnurl.js @@ -207,6 +207,7 @@ app.get("/pay/:username", async (req, res, next) => { app.post("/pay", auth, async (req, res, next) => { const { user } = req; + const { amount, comment, @@ -228,7 +229,6 @@ app.post("/pay", auth, async (req, res, next) => { memo: comment, username: recipients[secret].username }, - hostname, user ); @@ -238,6 +238,7 @@ app.post("/pay", auth, async (req, res, next) => { res.send(await send(amount, "", data.pr, user)); } } catch (e) { + console.log(e); err("failed to send payment", e.message); res.code(500).send(e.message); } -- cgit v1.2.3