aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--routes/lnurl.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/routes/lnurl.js b/routes/lnurl.js
index 17aeca53..d978e50d 100644
--- a/routes/lnurl.js
+++ b/routes/lnurl.js
@@ -162,10 +162,11 @@ app.post(
const { user } = req;
const {
amount,
+ comment,
params: { callback, k1 }
} = req.body;
- const url = `${callback}?amount=${amount * 1000}`;
+ const url = `${callback}?amount=${amount * 1000}&comment=${comment}`;
try {
const parts = callback.split("/");