Skip to content

Commit

Permalink
docs: remove webhooks keyword ambiguity from README.md (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajschmidt8 committed Jan 9, 2023
1 parent 21610ac commit 0ac1661
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
});
```
Expand All @@ -39,8 +39,8 @@ provider:
LOG_LEVEL: debug

functions:
webhooks:
handler: handler.webhooks
probot:
handler: handler.lambdaFn
events:
- httpApi:
path: /api/github/webhooks
Expand Down

0 comments on commit 0ac1661

Please sign in to comment.