diff options
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | routes/lnurl.ts | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -15,3 +15,4 @@ watcher.log .history/ res req +nobal.sh diff --git a/routes/lnurl.ts b/routes/lnurl.ts index 1528d64c..367978d1 100644 --- a/routes/lnurl.ts +++ b/routes/lnurl.ts @@ -54,7 +54,7 @@ export default { } = req; try { const user = await getUser( - username.replace("lightning:", "").replace(/\s/, "").toLowerCase(), + username.replace("lightning:", "").replace(/\s/, "").replace("=","").toLowerCase(), ); if (!user) fail(`User ${username} not found`); |
