fix : set gameJoinEvent id as optional

This commit is contained in:
2024-12-29 12:23:50 +01:00
parent f9623a7961
commit 49829c8017
+1 -1
View File
@@ -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>,