From af3c0bbd7245a8133a252f41bedcc44065c5bd7b Mon Sep 17 00:00:00 2001 From: Jonathan Clem Date: Tue, 1 Sep 2020 09:42:22 -0400 Subject: [PATCH] Fix example function arguments --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } ```