From e611d945ed5502c81e388d9722f0fb7acdb16f30 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sun, 8 Jul 2018 03:02:09 +0000 Subject: [PATCH] updates --- lib/extensions/admin/login/js/app.js | 5 ++--- package.json | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/extensions/admin/login/js/app.js b/lib/extensions/admin/login/js/app.js index 4218d89..fdd4537 100644 --- a/lib/extensions/admin/login/js/app.js +++ b/lib/extensions/admin/login/js/app.js @@ -104,13 +104,12 @@ function init() { , cors: true }).then(function (resp) { return resp.json().then(function (data) { - console.log('pair request:'); + console.log('pair request data:'); console.log(data); document.querySelector('body').hidden = false; if (data.error) { document.querySelector('.js-error').hidden = false; - document.querySelector('.js-magic-link').innerText = magic; - window.alert("Something went wrong. Perhaps an bad or expired link."); + document.querySelector('.js-magic-link').innerText = "Something went wrong. Perhaps an bad or expired link."; return; } document.querySelector('.js-magic').hidden = false; diff --git a/package.json b/package.json index 22e6339..93db3f0 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ }, "homepage": "https://git.coolaj86.com/coolaj86/telebit-relay.js", "dependencies": { - "@coolaj86/urequest": "^1.3.2", + "@coolaj86/urequest": "^1.3.5", "body-parser": "^1.18.3", "cluster-store": "^2.0.8", "connect-cors": "^0.5.6",