From d67eb3202bd7a2817898619192eb0b75b8b9dd76 Mon Sep 17 00:00:00 2001 From: moothz Date: Tue, 9 Sep 2025 15:46:26 -0300 Subject: [PATCH] Fix lint --- src/api/integrations/event/websocket/websocket.controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/integrations/event/websocket/websocket.controller.ts b/src/api/integrations/event/websocket/websocket.controller.ts index 046682a9..728c7644 100644 --- a/src/api/integrations/event/websocket/websocket.controller.ts +++ b/src/api/integrations/event/websocket/websocket.controller.ts @@ -33,7 +33,7 @@ export class WebsocketController extends EventController implements EventControl const { remoteAddress } = req.socket; const isAllowedHost = (process.env.WEBSOCKET_ALLOWED_HOSTS || '127.0.0.1,::1,::ffff:127.0.0.1') .split(',') - .map(h => h.trim()) + .map((h) => h.trim()) .includes(remoteAddress); if (params.has('EIO') && isAllowedHost) {