From c2028d9309e6b21910b5c565b290638d1bcb06f5 Mon Sep 17 00:00:00 2001 From: M1000fr Date: Mon, 2 Dec 2024 19:24:30 +0100 Subject: [PATCH] ref: remove unused params --- src/modules/auth/guards/discord.guard.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);