From a7af8bb070b97d87c3578b4a9ce70d5437799ef0 Mon Sep 17 00:00:00 2001 From: Conner Hnatiuk <46903591+ConnerWithAnE@users.noreply.github.com> Date: Thu, 16 May 2024 22:57:16 -0600 Subject: [PATCH] Update src/widgets/wgeasy/proxy.js Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com> --- src/widgets/wgeasy/proxy.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/widgets/wgeasy/proxy.js b/src/widgets/wgeasy/proxy.js index 25f0a8e7..8de081e1 100644 --- a/src/widgets/wgeasy/proxy.js +++ b/src/widgets/wgeasy/proxy.js @@ -12,8 +12,7 @@ const sessionSIDCacheKey = `${proxyName}__sessionSID`; async function login(widget, service) { const url = formatApiCall(widgets[widget.type].api, { ...widget, endpoint: "session" }); - // eslint-disable-next-line no-unused-vars - const [status, contenType, data, responseHeaders] = await httpProxy(url, { + const [status, , , responseHeaders] = await httpProxy(url, { method: "POST", body: JSON.stringify({ password: widget.password }), headers: {