NestJS - Guards
Consider the following NestJS controller method guarded by JwtAuthGuard:
What will happen if a request is made without an Authorization header?
@UseGuards(JwtAuthGuard)
@Get('profile')
getProfile() {
return { profile: 'user data' };
}What will happen if a request is made without an Authorization header?
