Skip to content

Commit

Permalink
added auth for botRequest API
Browse files Browse the repository at this point in the history
  • Loading branch information
Amruth-Vamshi committed Aug 24, 2023
1 parent 4d8a814 commit 7d18baa
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 @@ -62,7 +62,7 @@ export class SocketGateway
await this.cacheManager.set(client['userID'], null, 86400 * 1000);
}

// @UseGuards(WsGuard)
@UseGuards(WsGuard)
@SubscribeMessage('botRequest')
async handleMessage(client: Socket, { content, to, conversationId }: any) {
this.logger.log(
Expand Down

0 comments on commit 7d18baa

Please sign in to comment.