refactor: Update JWTStrategy to extend PassportStrategy with "jwt" name

This commit is contained in:
M1000fr 2024-12-02 16:57:20 +01:00
parent a6d24cee9d
commit 2e22e0bb4d

View File

@ -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,