diff options
| author | Adam Soltys <[email protected]> | 2023-04-04 07:06:06 +0000 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-04-04 07:06:19 +0000 |
| commit | eba6aac189e3524891509ece001bb945c44bb06c (patch) | |
| tree | c72faae5c25fbd97f69f9b0fb9ac9c20f821f460 | |
| parent | 8b67a32b6ffc87b14ef1fa26b6596695419b8e3e (diff) | |
| download | coinos-server-eba6aac189e3524891509ece001bb945c44bb06c.tar.gz coinos-server-eba6aac189e3524891509ece001bb945c44bb06c.zip | |
fix lnurl processing
| -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 |
