diff --git a/src/socket/socket.gateway.ts b/src/socket/socket.gateway.ts index 94006da..f94c5f4 100644 --- a/src/socket/socket.gateway.ts +++ b/src/socket/socket.gateway.ts @@ -72,7 +72,7 @@ export class SocketGateway )}`, ); to = getUuidByString('uci-pwa'); - const userId = (client.handshake.headers.channel as string) + (client.handshake.headers.userPhone as string); + const userId = (client.handshake.headers.channel as string) + ":" + (client.handshake.headers.userPhone as string); content.from = userId; this.appService.requestToAdapter({ content, to }, this.server); return {};