Skip to content

Commit

Permalink
fix: add destructuring to require()
Browse files Browse the repository at this point in the history
This commit adds destructuring to the Lambda import to prevent
a crash.
  • Loading branch information
cjihrig-aws committed Oct 25, 2021
1 parent 59117c2 commit 52296dd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const awsRegions = require('./aws-regions');
const Lambda = require('./aws-utils/aws-lambda');
const { Lambda } = require('./aws-utils/aws-lambda');
const DynamoDB = require('./aws-utils/aws-dynamodb');
const AppSync = require('./aws-utils/aws-appsync');
const { Lex } = require('./aws-utils/aws-lex');
Expand Down

0 comments on commit 52296dd

Please sign in to comment.