From 0ac166147851c9ecbb6f478692378da3974ac037 Mon Sep 17 00:00:00 2001 From: AJ Schmidt Date: Mon, 9 Jan 2023 18:36:50 -0500 Subject: [PATCH] docs: remove `webhooks` keyword ambiguity from `README.md` (#112) --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index de6db1e..c130122 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ const { createProbot, } = require("@probot/adapter-aws-lambda-serverless"); const appFn = require("./"); -module.exports.webhooks = createLambdaFunction(appFn, { +module.exports.lambdaFn = createLambdaFunction(appFn, { probot: createProbot(), }); ``` @@ -39,8 +39,8 @@ provider: LOG_LEVEL: debug functions: - webhooks: - handler: handler.webhooks + probot: + handler: handler.lambdaFn events: - httpApi: path: /api/github/webhooks