diff options
| -rw-r--r-- | routes/lnurl.js | 2 | ||||
| -rwxr-xr-x | watcher.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/routes/lnurl.js b/routes/lnurl.js index 4540a11a..e31d24e2 100644 --- a/routes/lnurl.js +++ b/routes/lnurl.js @@ -42,7 +42,7 @@ export default { }, async lnurlp({ params: { username } }, res) { - let uid = await getUser(username); + let { id: uid } = await getUser(username); if (!uid) { let u = await got(`${classic}/admin/migrate/${username}?zero=true`, { headers: { authorization: `Bearer ${admin}` }, @@ -16,7 +16,7 @@ do if "$low"; then echo "Threshold hit, setting new threshold" - docker stop app; +# docker stop app; curl localhost:3119/email -H "content-type: application/json" -d '{"token": "MPJzfq97ab!!!!", "message": "threshold hit"}' fi sleep 120 |
