10 lines
265 B
TypeScript
10 lines
265 B
TypeScript
import { Injectable, ExecutionContext } from '@nestjs/common';
|
|
import { AuthGuard } from '@nestjs/passport';
|
|
|
|
@Injectable()
|
|
export class JwtAuthGuard extends AuthGuard('jwt') {
|
|
canActivate(context: ExecutionContext) {
|
|
return super.canActivate(context);
|
|
}
|
|
}
|