diff --git a/packages/server/src/api/controllers/application.ts b/packages/server/src/api/controllers/application.ts index 5e12dd4d76..666dacc28c 100644 --- a/packages/server/src/api/controllers/application.ts +++ b/packages/server/src/api/controllers/application.ts @@ -202,7 +202,7 @@ export async function fetch(ctx: UserCtx) { // Get all builder sessions in each app const sessions = await builderSocket?.getRoomSessions(appIds) if (sessions?.length) { - let appSessionMap: { [key: string]: SocketSession[] } = {} + let appSessionMap: Record = {} sessions.forEach(session => { const room = session.room if (!room) {