aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--routes/lnurl.js2
-rwxr-xr-xwatcher.sh2
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}` },
diff --git a/watcher.sh b/watcher.sh
index b12ee1cb..4f5cbd39 100755
--- a/watcher.sh
+++ b/watcher.sh
@@ -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