Skip to content

Commit

Permalink
Add colon to userId
Browse files Browse the repository at this point in the history
  • Loading branch information
ChakshuGautam authored Mar 31, 2023
1 parent 5dab9e8 commit c95ee46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/socket/socket.gateway.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {};
Expand Down

0 comments on commit c95ee46

Please sign in to comment.