aboutsummaryrefslogtreecommitdiffstats
path: root/routes
diff options
context:
space:
mode:
Diffstat (limited to 'routes')
-rw-r--r--routes/lnurl.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/routes/lnurl.ts b/routes/lnurl.ts
index 59fc6ba1..fec516c1 100644
--- a/routes/lnurl.ts
+++ b/routes/lnurl.ts
@@ -69,6 +69,7 @@ export default {
maxSendable,
metadata,
nostrPubkey: serverPubkey,
+ commentAllowed: 512,
callback: `${URL}/api/lnurl/${id}`,
tag: "payRequest",
});
@@ -81,7 +82,7 @@ export default {
async lnurl(req, res) {
let {
params: { id },
- query: { amount, nostr },
+ query: { amount, comment, nostr },
} = req;
try {
let uid = await g(`lnurl:${id}`);