exported function fetch with catch
This commit is contained in:
@@ -229,13 +229,6 @@ export class ChatController {
|
||||
await this.chatService.setPasswordValidation(req.user.username, room);
|
||||
}
|
||||
|
||||
await this.chatService.setCurrentRoom(req.user.username, room.name);
|
||||
let socket: socketDto = this.chatGateway.sockets.get(req.user.username);
|
||||
await this.chatService.socketChangeRoom(socket, room.name);
|
||||
|
||||
const ret_room = this.format_room(room);
|
||||
res.status(HttpStatus.OK).json({ room: ret_room });
|
||||
|
||||
console.log("- out setPassword controller");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user