From 764ad2777dbdf575c4e1535f7829e363f77e00c0 Mon Sep 17 00:00:00 2001 From: "Philip H." <47042125+pheiduck@users.noreply.github.com> Date: Sun, 21 Jan 2024 13:41:14 +0000 Subject: [PATCH] fixup: lint errors --- src/lib/Server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Server.js b/src/lib/Server.js index e7cb3ea0..88183f5c 100644 --- a/src/lib/Server.js +++ b/src/lib/Server.js @@ -166,7 +166,7 @@ module.exports = class Server { const { address } = req.body; return WireGuard.updateClientAddress({ clientId, address }); })) - .put('/api/wireguard/client/:clientId/address6', Util.promisify(async (req) => { + .put('/api/wireguard/client/:clientId/address6', Util.promisify(async (req, res) => { const { clientId } = req.params; if (clientId === '__proto__' || clientId === 'constructor' || clientId === 'prototype') { res.end(403);