diff --git a/README.md b/README.md index fe0a3a1..0f7028e 100644 --- a/README.md +++ b/README.md @@ -193,7 +193,7 @@ pusher } // Parse the response body as JSON return response.json() - ) + }) .then(body => { const channelsInfo = body.channels // Do something with channelsInfo