Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
kotto5 committed Feb 26, 2024
1 parent 76e7c75 commit 7395ed5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions backend/src/chat/chat.gateway.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,9 @@ export class ChatGateway {
@MessageBody() data: { deniedUserId: number },
@ConnectedSocket() client: Socket,
) {
const deniedUserWsId = this.chatService.getWsFromUserId(data.deniedUserId)
?.id;
const deniedUserWsId = this.chatService.getWsFromUserId(
data.deniedUserId,
)?.id;
if (!deniedUserWsId) {
return;
} else {
Expand Down

0 comments on commit 7395ed5

Please sign in to comment.