diff options
| author | Adam Soltys <[email protected]> | 2021-09-24 02:19:30 -0400 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2021-09-24 02:19:30 -0400 |
| commit | 18814242ad055ecd6f9de1d23209958e12aee69c (patch) | |
| tree | f9abc8b8716b5587c8a71700df62ebfe2098f4f6 /routes/lnurl.js | |
| parent | fd44b77a4ddac5beef34f65be8e5558f4b4291f9 (diff) | |
| download | coinos-server-18814242ad055ecd6f9de1d23209958e12aee69c.tar.gz coinos-server-18814242ad055ecd6f9de1d23209958e12aee69c.zip | |
always create account on issuance
Diffstat (limited to 'routes/lnurl.js')
| -rw-r--r-- | routes/lnurl.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/routes/lnurl.js b/routes/lnurl.js index feceb913..b07aeeab 100644 --- a/routes/lnurl.js +++ b/routes/lnurl.js @@ -117,6 +117,7 @@ app.post( app.get( "/lnurlp/:username", ah(async (req, res, next) => { + throw new Error("LNURL payments temporarily disabled due to a server issue. Sep. 2, 2021. Join our Telegram channel https://t.me/coinoswallet for updates"); const { username } = req.params; let user = await db.User.findOne({ where: { @@ -152,6 +153,7 @@ app.get( app.get( "/pay/:username", ah(async (req, res, next) => { + throw new Error("LNURL payments temporarily disabled due to a server issue. Sep. 2, 2021. Join our Telegram channel https://t.me/coinoswallet for updates"); const { username } = req.params; let user = await db.User.findOne({ where: { @@ -185,6 +187,7 @@ app.post( "/pay", auth, ah(async (req, res, next) => { + throw new Error("LNURL payments temporarily disabled due to a server issue. Sep. 2, 2021. Join our Telegram channel https://t.me/coinoswallet for updates"); const { user } = req; const { amount, @@ -194,7 +197,6 @@ app.post( let url = `${callback}${callback.includes("?") ? "&" : "?"}amount=${amount * 1000}${comment ? "&comment=" + comment : ""}`; - console.log(url); try { const parts = callback.split("/"); |
