pusher/docs

Pusher Channels Docs | How to authenticate userspage - Code Typo

Closed this issue · 2 comments

Hello there, I spotted an issue on https://pusher.com/docs/channels/server_api/authenticating-users/

In the Client-side: setting the authentication endpoint section, there is an extra closing parenthesis.

new Pusher("app_key", { userAuthentication: { endpoint: "/pusher_user_auth.php"}));  // <-- Extra closing parenthesis

Thanks for that. Actually the second to last closing bracket should be curly.

I will get this fixed.

Will merge PR #219