Skip to content

Commit

Permalink
Merge pull request #311 from pusher/channel-channel-fix-fix
Browse files Browse the repository at this point in the history
fix the double channel
  • Loading branch information
benw-pusher authored Nov 1, 2023
2 parents 575e42e + ef26cb1 commit fa11a28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/channels/getting_started/javascript.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ var pusher = new Pusher("APP_KEY", {

## Subscribe to a channel

Before your web app can receive the event you publish, your web app needs to subscribe to the `my-channel` channel channel. Do this with `pusher.subscribe`.
Before your web app can receive the event you publish, your web app needs to subscribe to the `my-channel` channel. Do this with `pusher.subscribe`.

```js
var channel = pusher.subscribe("my-channel");
Expand Down

1 comment on commit fa11a28

@vercel
Copy link

@vercel vercel bot commented on fa11a28 Nov 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.