diff options
| author | Adam Soltys <[email protected]> | 2025-07-31 21:17:04 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2025-07-31 21:17:04 -0700 |
| commit | c1cd79795a5ac42e2a6071187ce8325ba355d4d4 (patch) | |
| tree | b214b8ab6ff5c396bc1e976031ed383dc96446a0 | |
| parent | e663cb2f70dbba6cdc7f100bf30e3d4a521c6e6d (diff) | |
| download | coinos-server-c1cd79795a5ac42e2a6071187ce8325ba355d4d4.tar.gz coinos-server-c1cd79795a5ac42e2a6071187ce8325ba355d4d4.zip | |
leave minSendable undefined if no amount
| -rw-r--r-- | routes/lnurl.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/lnurl.ts b/routes/lnurl.ts index dc51e8fc..59cc58e1 100644 --- a/routes/lnurl.ts +++ b/routes/lnurl.ts @@ -215,7 +215,7 @@ export default { res.send({ allowsNostr: true, - minSendable: total, + minSendable: invoice.amount ? total : undefined, maxSendable: invoice.amount ? total : undefined, metadata, nostrPubkey: serverPubkey, |
