refactor: Update JWTStrategy to extend PassportStrategy with "jwt" name
This commit is contained in:
parent
a6d24cee9d
commit
2e22e0bb4d
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user