From b98571302a0ebfdf498bb8bacfdb3b3895e1f3cf Mon Sep 17 00:00:00 2001 From: Sam Rose Date: Mon, 9 Dec 2024 10:56:57 +0000 Subject: [PATCH] Fix build. --- packages/server/src/websockets/websocket.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/src/websockets/websocket.ts b/packages/server/src/websockets/websocket.ts index 2f031a72d9..e8cd306fd2 100644 --- a/packages/server/src/websockets/websocket.ts +++ b/packages/server/src/websockets/websocket.ts @@ -57,7 +57,7 @@ export class BaseSocket { const ctx = createContext(this.app, socket) try { - await runMiddlewares(ctx, middlewares, () => { + await runMiddlewares(ctx, middlewares, async () => { // Middlewares are finished // Extract some data from our enriched koa context to persist // as metadata for the socket