Skip to content

Commit 4965d5f

Browse files
committed
docs(event-handler): typos
1 parent 6f69f01 commit 4965d5f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

event-handler/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const eventHandler = new EventHandler({
1515
eventHandler.on('installation', asyncInstallationHook)
1616

1717
// put this inside your webhooks route handler
18-
eventHandler.reiceive({
18+
eventHandler.receive({
1919
id: request.headers['x-github-delivery'],
2020
name: request.headers['x-github-event'],
2121
payload: request.body
@@ -37,6 +37,6 @@ if (!verify(secret, request.payload, request.headers['x-github-signature'])) {
3737

3838
## API
3939

40-
The `event-handler` API implements [`.reiceive()`](../#webhooksreceive), [`.on()`](../#webhookson) and [`.removeListener()`](../#webhooksremovelistener).
40+
The `event-handler` API implements [`.receive()`](../#webhooksreceive), [`.on()`](../#webhookson) and [`.removeListener()`](../#webhooksremovelistener).
4141

4242
Back to [@octokit/webhooks README](..).

0 commit comments

Comments
 (0)