fix : set gameJoinEvent id as optional
This commit is contained in:
+1
-1
@@ -11,7 +11,7 @@ export class GameDeleteEvent {
|
|||||||
}
|
}
|
||||||
export class GameJoinEvent {
|
export class GameJoinEvent {
|
||||||
type = 'joingame';
|
type = 'joingame';
|
||||||
gameId: number;
|
gameId?: number;
|
||||||
constructor(
|
constructor(
|
||||||
public player: PlayerResponseDTO,
|
public player: PlayerResponseDTO,
|
||||||
game?: Partial<GameResponseDTO>,
|
game?: Partial<GameResponseDTO>,
|
||||||
|
|||||||
Reference in New Issue
Block a user