Skip to content

Commit

Permalink
Add logs
Browse files Browse the repository at this point in the history
  • Loading branch information
ChakshuGautam authored Mar 31, 2023
1 parent 6f87542 commit 5dab9e8
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 @@ -43,7 +43,7 @@ export class SocketGateway

async handleConnection(client: Socket, ...args: any[]) {
this.logger.log(
`Client is connected with clientID ${client.id} and phoneNumber ${client.handshake.query.deviceId}`,
`Client is connected with clientID ${client.id} and phoneNumber ${client.handshake.query.deviceId} and Client.id is`,
);
const sessionID = client.handshake.query.deviceId;
const userID = client.handshake.query.deviceId as string;
Expand Down

0 comments on commit 5dab9e8

Please sign in to comment.