NestJS - Guards
Consider this guard implementation:
What will be the result if the 'authorization' header is not present in the request?
canActivate(context: ExecutionContext) {
const request = context.switchToHttp().getRequest();
return request.headers['authorization'] === 'Bearer token123';
}What will be the result if the 'authorization' header is not present in the request?
