diff --git a/src/socket/socket.gateway.ts b/src/socket/socket.gateway.ts index 2639cb5..8bca864 100644 --- a/src/socket/socket.gateway.ts +++ b/src/socket/socket.gateway.ts @@ -81,7 +81,7 @@ export class SocketGateway implements OnGatewayConnection { const clients: Socket[] = []; for (const client of socketsMap.values()) { - if (clientsId.includes(client.handshake.auth.token)) { + if (clientsId.includes(client.handshake.auth.token.telephone_id)) { clients.push(client); } }