Skip to content

Commit 58b38e1

Browse files
authored
Merge pull request #6 from jlarmstrongiv/patch-1
Switch exports to module.exports
2 parents 22411c4 + f3970e1 commit 58b38e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ const getApp = async () => {
174174

175175
const handler = lambdaRequestHandler.deferred(getApp);
176176

177-
exports = { handler }
177+
module.exports = { handler }
178178
```
179179

180180
If the above file in your Lambda source was called `index.ts`, compiled to `index.js` then the name of the handler in the Lambda configuration is `index.handler`

0 commit comments

Comments
 (0)