From 135134d2fffeecbae17a1c787f75e93dfb0bc42a Mon Sep 17 00:00:00 2001 From: AJ Schmidt Date: Thu, 22 Dec 2022 17:42:54 -0500 Subject: [PATCH] Remove `webhooks` keyword ambiguity from `README.md` The keyword `webhooks` is used in a lot of different places in the `README.md` file. This makes it hard to determine which variables, function names, etc. are related. This PR updates `README.md` to remove that ambiguity. --- 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