From 49f35c38d45e8b7c56977aea269783ee78ceac70 Mon Sep 17 00:00:00 2001 From: Jason Nichols Date: Tue, 19 Nov 2013 22:18:44 -0600 Subject: [PATCH] Missing Paren in Example Threw me for a while when the sample code didn't work. :) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6beda21..9e4665f 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ io.set('authorization', passportSocketIo.authorize({ store: sessionStore, // we NEED to use a sessionstore. no memorystore please success: onAuthorizeSuccess, // *optional* callback on success - read more below fail: onAuthorizeFail, // *optional* callback on fail/error - read more below -}); +})); function onAuthorizeSuccess(data, accept){ console.log('successful connection to socket.io');