diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-03-11 17:26:07 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-03-11 17:26:07 +0900 |
| commit | 04cc63ac64cc091a0b06befc6c6c1b8201c8a254 (patch) | |
| tree | 28a9593dade81f64824a2b392b4c02e7597f8796 /src/api | |
| parent | #1230 (diff) | |
| download | sharkey-04cc63ac64cc091a0b06befc6c6c1b8201c8a254.tar.gz sharkey-04cc63ac64cc091a0b06befc6c6c1b8201c8a254.tar.bz2 sharkey-04cc63ac64cc091a0b06befc6c6c1b8201c8a254.zip | |
#1231
Diffstat (limited to 'src/api')
| -rw-r--r-- | src/api/stream/othello-game.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/api/stream/othello-game.ts b/src/api/stream/othello-game.ts index e2ecce38ea..87d26e2419 100644 --- a/src/api/stream/othello-game.ts +++ b/src/api/stream/othello-game.ts @@ -232,7 +232,8 @@ export default function(request: websocket.request, connection: websocket.connec }); publishOthelloGameStream(gameId, 'ended', { - winner_id: winner + winner_id: winner, + game: await pack(gameId, user) }); } //#endregion |