From c30fa0d81ceea33f8ad835163da9eb754a30fa12 Mon Sep 17 00:00:00 2001 From: Conner Hnatiuk <46903591+ConnerWithAnE@users.noreply.github.com> Date: Thu, 16 May 2024 22:57:31 -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 8de081e1..f113470f 100644 --- a/src/widgets/wgeasy/proxy.js +++ b/src/widgets/wgeasy/proxy.js @@ -53,8 +53,7 @@ export default async function wgeasyProxyHandler(req, res) { return res.status(500).json({ error: "Failed to authenticate with Wg-Easy" }); } } - // eslint-disable-next-line no-unused-vars - const [status, contentType, data, responseHeaders] = await httpProxy( + const [, , data, ] = await httpProxy( formatApiCall(widgets[widget.type].api, { ...widget, endpoint: "wireguard/client" }), { method: "GET",