changed docker file nest to avoid rebuild everything each time, and small changes in chat gateway

This commit is contained in:
simplonco
2023-01-02 18:08:50 +01:00
parent 32187fa06c
commit 1551ec6499
150 changed files with 49244 additions and 31 deletions

View File

@@ -29,15 +29,15 @@ export class ChatGateway
async handleConnection(client) {
console.log('---- Client connected :', client.id);
}
handleDisconnect(client) {
async handleDisconnect(client) {
console.log('---- client disconnected :', client.id);
}
/*
*/
@SubscribeMessage('test_users')
handleEvent(client: Socket, data: any): void {
handleMessage(): void {
const paginationQuery = new PaginationQueryDto();
const users = await this.usersService.findAll(paginationQuery);
const users = this.usersService.findAll(paginationQuery);
console.log('users :', users);
}