Fix example function arguments

This commit is contained in:
Jonathan Clem
2020-09-01 09:42:22 -04:00
parent fdf4916d13
commit af3c0bbd72

View File

@@ -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: And then export a function from your module:
```javascript ```javascript
module.exports = (github, context) => { module.exports = ({github, context}) => {
return context.payload.client_payload.value return context.payload.client_payload.value
} }
``` ```