diff options
| author | Adam Soltys <[email protected]> | 2022-10-17 14:13:43 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-10-17 14:13:43 -0700 |
| commit | 3b09d927ca40822558a50ff49d96d7ba6577a775 (patch) | |
| tree | 8ee5ed802e9ae8cbd6ddc186e56b56b5b8be5869 | |
| parent | 881a4f48f6e9bec36bc0afdbfd85d5334bffb999 (diff) | |
| parent | 250b25bfa332065eb66ab4fd098d1512a4cd7364 (diff) | |
| download | coinos-server-3b09d927ca40822558a50ff49d96d7ba6577a775.tar.gz coinos-server-3b09d927ca40822558a50ff49d96d7ba6577a775.zip | |
Merge remote-tracking branch 'origin/prod' into ticketstickets
| -rw-r--r-- | routes/lnurl.js | 3 |
1 files changed, 2 insertions, 1 deletions
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); } |
