diff --git a/README.md b/README.md index f1afe0e42..b74483b45 100644 --- a/README.md +++ b/README.md @@ -211,7 +211,7 @@ _Note that the script path given to `require()` must be an **absolute path** in And then export a function from your module: ```javascript -module.exports = (github, context) => { +module.exports = ({github, context}) => { return context.payload.client_payload.value } ```