From e0ea06df4572c5183c5a4fd1697ca59c2614672c Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 16 Oct 2024 15:33:22 -0700 Subject: atomic payment reversal --- routes/lnurl.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'routes') 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}`); -- cgit v1.2.3