Skip to content

Commit

Permalink
Merge pull request #338 from wellcomecollection/fix/remove-logs
Browse files Browse the repository at this point in the history
remove logs we no longer need
  • Loading branch information
melanierogan authored Jun 23, 2022
2 parents 4d90c55 + 2a5a502 commit e780e77
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 e780e77

Please sign in to comment.