From 0fb52ea7eb7c5f760f3a13afd2cbe20023dfff37 Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 14 Mar 2018 04:37:20 +0900 Subject: :v: --- src/api/stream/othello-game.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/api/stream/othello-game.ts') diff --git a/src/api/stream/othello-game.ts b/src/api/stream/othello-game.ts index ba0f11252f..1c846f27ae 100644 --- a/src/api/stream/othello-game.ts +++ b/src/api/stream/othello-game.ts @@ -6,7 +6,7 @@ import { publishOthelloGameStream } from '../event'; import Othello from '../../common/othello/core'; import * as maps from '../../common/othello/maps'; -export default function(request: websocket.request, connection: websocket.connection, subscriber: redis.RedisClient, user: any): void { +export default function(request: websocket.request, connection: websocket.connection, subscriber: redis.RedisClient, user?: any): void { const gameId = request.resourceURL.query.game; // Subscribe game stream -- cgit v1.2.3-freya