From 6996600733af5557b420cf3a6c159580b0a8b028 Mon Sep 17 00:00:00 2001 From: hannah-macdonald1 Date: Wed, 8 Jan 2025 13:58:23 -0700 Subject: [PATCH] check if jwt is provided in request --- src/common/guards/auth/auth.guard.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/guards/auth/auth.guard.ts b/src/common/guards/auth/auth.guard.ts index f061e11..6d52c66 100644 --- a/src/common/guards/auth/auth.guard.ts +++ b/src/common/guards/auth/auth.guard.ts @@ -24,6 +24,7 @@ export class AuthGuard implements CanActivate { return true; } const request = context.switchToHttp().getRequest(); + this.logger.log({ request: request }); const controllerPath = Reflect.getMetadata('path', context.getClass()) || ''; const isAuthorized = await this.authService.getRecordAndValidate(