mirror of
https://github.com/actions/github-script.git
synced 2026-02-08 03:57:27 +00:00
Fix example function arguments
This commit is contained in:
parent
fdf4916d13
commit
af3c0bbd72
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in a new issue