Skip to content

Commit

Permalink
Remove cruft
Browse files Browse the repository at this point in the history
  • Loading branch information
marklise committed Oct 3, 2024
1 parent b24f697 commit 791ce73
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion handlers/authorizer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ exports.handler = async function (event, context, callback) {
let methodArn = `arn:aws:execute-api:ca-central-1:637423314715:6kbrprs1r7/api/*`;
const arnPrefix = methodArn.split(':').slice(0, 6);
const joinedArnPrefix = arnPrefix.slice(0, 5).join(':');
// arn:aws:execute-api:ca-central-1:637423314715
const apiIDString = arnPrefix[5];
const apiString = apiIDString.split('/')[0];
const fullAPIMethods = joinedArnPrefix + ':' +apiString + '/' + process.env.STAGE_NAME + '/*';
Expand Down
1 change: 0 additions & 1 deletion template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,6 @@ Resources:
LOG_LEVEL: info
COGNITO_APP_CLIENT_ID: !Ref CognitoUserPoolClient
TABLE_NAME: !Ref TableName
REST_API_ID: !Ref ApiID
STAGE_NAME: !Ref Stage

SearchFunction:
Expand Down

0 comments on commit 791ce73

Please sign in to comment.