From a05a67fa6f39d1d8926cdf43f5cad848fd118afc Mon Sep 17 00:00:00 2001 From: Timo Hocker Date: Fri, 6 Mar 2020 17:21:58 +0100 Subject: [PATCH] fix --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index dfdcabd..7f3f67e 100644 --- a/index.js +++ b/index.js @@ -25,7 +25,7 @@ async function login (user, password, host = '') { const salt_str = await fetch (`${host}/auth`, { headers: { user } }) .then (async (res) => { if (res.status !== http_consts.status_ok) - return ''); + return ''; return await res.text (); });