diff --git a/src/modules/auth/guards/discord.guard.ts b/src/modules/auth/guards/discord.guard.ts index f50ecb3..5fbd0e4 100644 --- a/src/modules/auth/guards/discord.guard.ts +++ b/src/modules/auth/guards/discord.guard.ts @@ -3,7 +3,7 @@ import { AuthGuard } from "@nestjs/passport"; @Injectable() export class DiscordAuthGuard extends AuthGuard("discord") { - handleRequest(err, user, info, context) { + handleRequest(err, user, info) { if (err || !user) { const errorMessage = info?.message || "Authentication failed"; throw new UnauthorizedException(errorMessage);