Skip to content

Commit

Permalink
Fix call in aws handler to match example (and be correct)
Browse files Browse the repository at this point in the history
  • Loading branch information
sirctseb authored Nov 2, 2021
1 parent 1b450f6 commit a4be7b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/_deployments/aws-lambda.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ Finally, at the bottom of your app, update the [source code that starts the HTTP
```javascript
// Handle the Lambda function event
module.exports.handler = async (event, context, callback) => {
const handler = await app.start();
const handler = await awsLambdaReceiver.start();
return handler(event, context, callback);
}
```
Expand Down

0 comments on commit a4be7b1

Please sign in to comment.