From a4be7b1c319c06612ea6deb603804acb0ed2357b Mon Sep 17 00:00:00 2001 From: Christopher Best Date: Mon, 1 Nov 2021 21:18:34 -0400 Subject: [PATCH] Fix call in aws handler to match example (and be correct) https://github.com/slackapi/bolt-js/blob/main/examples/deploy-aws-lambda/app.js#L60 --- docs/_deployments/aws-lambda.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_deployments/aws-lambda.md b/docs/_deployments/aws-lambda.md index a577de2a5..774805379 100644 --- a/docs/_deployments/aws-lambda.md +++ b/docs/_deployments/aws-lambda.md @@ -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); } ```