From 88a06dfff7426f7a7c7dce335adbe9c6b5a8b85f Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 13 Mar 2018 04:06:14 +0900 Subject: [PATCH] oops --- src/api/stream/othello-game.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/api/stream/othello-game.ts b/src/api/stream/othello-game.ts index 368baa2cb6..ba0f11252f 100644 --- a/src/api/stream/othello-game.ts +++ b/src/api/stream/othello-game.ts @@ -307,7 +307,8 @@ export default function(request: websocket.request, connection: websocket.connec if (o.isEnded) { publishOthelloGameStream(gameId, 'ended', { - winner_id: winner + winner_id: winner, + game: await pack(gameId, user) }); } }