Skip to content

Commit

Permalink
Fix: Issues with string concatenation
Browse files Browse the repository at this point in the history
  • Loading branch information
ChakshuGautam authored Mar 31, 2023
1 parent da78152 commit 4a3f6a0
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 + client.handshake.headers.userPhone;
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 4a3f6a0

Please sign in to comment.