Skip to content

Commit

Permalink
docs(webhooks): onAny code sample fix (#1648)
Browse files Browse the repository at this point in the history
  • Loading branch information
AllenSH12 committed Feb 10, 2022
1 parent dd9f5ae commit 5d232e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/webhooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ You can also use `app.onAny()` to listen for any event that your app is subscrib
```js
module.exports = (app) => {
app.onAny(async (context) => {
context.log.info({ event: context.name, action: context.payload.action });
app.log.info({ event: context.name, action: context.payload.action });
});
};
```
Expand Down

0 comments on commit 5d232e2

Please sign in to comment.