From fc3ffcc681ac97656a2a6bfc73297e503b3c6c5d Mon Sep 17 00:00:00 2001 From: quenousimporte Date: Thu, 21 Sep 2023 21:47:48 +0200 Subject: [PATCH] slight refactor and indent --- main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.js b/main.js index 6f11ece..302a72c 100644 --- a/main.js +++ b/main.js @@ -1542,7 +1542,7 @@ function queryremote(params) var data = {}; try { - return decryptstring(xhr.responseText) + decryptstring(xhr.responseText) .then(decrypted => { data = JSON.parse(decrypted); @@ -1577,6 +1577,7 @@ function queryremote(params) } } } + xhr.send(paramlist.join("&")); }); }