Fix : event lobby delete type
This commit is contained in:
@@ -79,6 +79,7 @@ export class LobbyService {
|
||||
|
||||
async remove(game: Document<Game> & Game) {
|
||||
this.eventEmitter.emit('sse.lobby', {
|
||||
type: 'delete',
|
||||
_id: game._id,
|
||||
});
|
||||
this.eventEmitter.emit('sse.game.' + game._id.toHexString(), {
|
||||
|
||||
Reference in New Issue
Block a user