diff --git a/src/modules/auth/strategy/jwt.strategy.ts b/src/modules/auth/strategy/jwt.strategy.ts index cc43689..fc7e2d9 100644 --- a/src/modules/auth/strategy/jwt.strategy.ts +++ b/src/modules/auth/strategy/jwt.strategy.ts @@ -6,7 +6,7 @@ import { UserService } from "@Modules/user/user.service"; import { ConfigService } from "@nestjs/config"; @Injectable() -export class JWTStrategy extends PassportStrategy(Strategy) { +export class JWTStrategy extends PassportStrategy(Strategy, "jwt") { constructor( private readonly userService: UserService, configService: ConfigService,