Skip to content

Commit

Permalink
change userId format phone: to ucipwa:
Browse files Browse the repository at this point in the history
  • Loading branch information
pankajjangid05 committed Mar 23, 2023
1 parent a3f4912 commit 79b4bc4
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 = 'phone:' + client.handshake.headers.userPhone;
const userId = 'ucipwa:' + client.handshake.headers.userPhone;
content.from = userId;
this.appService.requestToAdapter({ content, to }, this.server);
return {};
Expand Down

0 comments on commit 79b4bc4

Please sign in to comment.