From 2a5a5026af2a55677a8a948d9803d62437c9ca4f Mon Sep 17 00:00:00 2001 From: melanierogan Date: Wed, 22 Jun 2022 16:07:06 +0100 Subject: [PATCH] remove logs we no longer need --- packages/apps/api-authorizer/src/handler.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/packages/apps/api-authorizer/src/handler.ts b/packages/apps/api-authorizer/src/handler.ts index adddaa8e..78b1e6c7 100644 --- a/packages/apps/api-authorizer/src/handler.ts +++ b/packages/apps/api-authorizer/src/handler.ts @@ -51,11 +51,6 @@ export const createLambdaHandler = (validateToken: TokenValidator) => async ( // 1. Extract the token const authHeader = event.headers?.['Authorization']; const token = authHeader?.match(/^Bearer (.*)$/)?.[1]; - console.log(token, '<<<<< TOKEN VALUE'); - console.log(event, '<<<<< WHOLE API GATEWAY REQUEST AUTHORIZER EVENT'); - if (token == undefined) { - console.log('Token is undefined'); - } if (!token) { return send401(); }