From e566b499e95177e79158401f41e69ba55f5edd76 Mon Sep 17 00:00:00 2001 From: Spencer Date: Tue, 9 Jun 2020 12:38:00 -0500 Subject: [PATCH] fix(README): link to `event-handler` module docs (#155) --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6c5c7c87..b1c83b4c 100644 --- a/README.md +++ b/README.md @@ -332,7 +332,7 @@ webhooks.receive({ id, name, payload }); Returns a promise. Runs all handlers set with [`webhooks.on()`](#webhookson) in parallel and waits for them to finish. If one of the handlers rejects or throws an error, then `webhooks.receive()` rejects. The returned error has an `.errors` property which holds an array of all errors caught from the handlers. If no errors occur, `webhooks.receive()` resolves without passing any value. -The `.receive()` method belongs to the [receiver](receiver/) module which can be used standalone. +The `.receive()` method belongs to the `event-handler` module which can be used [standalone](src/event-handler/). ### webhooks.on() @@ -388,7 +388,7 @@ webhooks.on(eventNames, handler); -The `.on()` method belongs to the [receiver](receiver/) module which can be used standalone. +The `.on()` method belongs to the `event-handler` module which can be used [standalone](src/event-handler/). ### webhooks.removeListener() @@ -442,7 +442,7 @@ webhooks.removeListener(eventNames, handler); -The `.removeListener()` method belongs to the [receiver](receiver/) module which can be used standalone. +The `.removeListener()` method belongs to the `event-handler` module which can be used [standalone](src/event-handler/). ### webhooks.middleware()