From 31aa391d13f78743bb552bc8c337964afb3b5817 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 6 Aug 2021 15:51:45 +0200 Subject: Update server dependencies --- server/controllers/tracker.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'server/controllers') diff --git a/server/controllers/tracker.ts b/server/controllers/tracker.ts index 915981f67..37f8f12c9 100644 --- a/server/controllers/tracker.ts +++ b/server/controllers/tracker.ts @@ -109,7 +109,8 @@ function createWebsocketTrackerServer (app: express.Application) { return } - return wss.handleUpgrade(request, socket, head, ws => wss.emit('connection', ws, request)) + // FIXME: typings + return wss.handleUpgrade(request, socket as any, head, ws => wss.emit('connection', ws, request)) }) .catch(err => logger.error('Cannot check if tracker block ip exists.', { err })) } -- cgit v1.2.3