diff --git a/README.md b/README.md index 8c3a69bb..4f5358f0 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ source.onmessage = (event) => { id: webhookEvent["x-request-id"], name: webhookEvent["x-github-event"], signature: webhookEvent["x-hub-signature"], - payload: webhookEvent.body, + payload: JSON.stringify(webhookEvent.body), }) .catch(console.error); };