Update src/widgets/wgeasy/proxy.js

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
pull/3476/head
Conner Hnatiuk 3 weeks ago committed by GitHub
parent 32af20a679
commit a7af8bb070
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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: {

Loading…
Cancel
Save