From 72d7ab0176196e41339887f211c9a5ccbfe6ab76 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 368baa2cb..ba0f11252 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) }); } }