This commit is contained in:
syuilo 2018-09-04 12:58:43 +09:00
parent dc1d7fa9d7
commit ba64de334a
1 changed files with 4 additions and 2 deletions

View File

@ -3,8 +3,10 @@ import MiOS from '../../../../../mios';
export class ReversiGameStream extends Stream {
constructor(os: MiOS, me, game) {
super(os, 'games/reversi-game', {
i: me ? me.token : null,
super(os, 'games/reversi-game', me ? {
i: me.token,
game: game.id
} : {
game: game.id
});
}