Skip to content

Commit 0ac1661

Browse files
authored
docs: remove webhooks keyword ambiguity from README.md (#112)
1 parent 21610ac commit 0ac1661

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const {
1717
createProbot,
1818
} = require("@probot/adapter-aws-lambda-serverless");
1919
const appFn = require("./");
20-
module.exports.webhooks = createLambdaFunction(appFn, {
20+
module.exports.lambdaFn = createLambdaFunction(appFn, {
2121
probot: createProbot(),
2222
});
2323
```
@@ -39,8 +39,8 @@ provider:
3939
LOG_LEVEL: debug
4040

4141
functions:
42-
webhooks:
43-
handler: handler.webhooks
42+
probot:
43+
handler: handler.lambdaFn
4444
events:
4545
- httpApi:
4646
path: /api/github/webhooks

0 commit comments

Comments
 (0)