Skip to content

Commit

Permalink
remove logs we no longer need
Browse files Browse the repository at this point in the history
  • Loading branch information
melanierogan committed Jun 22, 2022
1 parent 4d90c55 commit 2a5a502
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packages/apps/api-authorizer/src/handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit 2a5a502

Please sign in to comment.