NestJS - Authentication
Identify the error in this JwtStrategy constructor code snippet:
constructor(private readonly jwtService: JwtService) {
super({
jwtFromRequest: ExtractJwt.fromAuthHeaderAsBearerToken(),
secretOrKey: process.env.JWT_SECRET,
});
}