Fix bug
This commit is contained in:
parent
dc1d7fa9d7
commit
ba64de334a
|
@ -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
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue