Fix : add userID to ReadUserDto
This commit is contained in:
@@ -99,7 +99,7 @@ export class GamesController {
|
||||
@Param('id', GamePipe) _game: Document<Game> & Game,
|
||||
): Observable<{ data: string }> {
|
||||
return fromEvent(this.eventEmitter, 'sse.game.' + id).pipe(
|
||||
map((payload) => {
|
||||
map((payload: any) => {
|
||||
return {
|
||||
data: JSON.stringify(payload),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user