From e9b8ea4302433f3eb0d96dbd26f098d14330502e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jose=CC=81=20F=2E=20Romaniello?= Date: Thu, 12 Jun 2014 13:23:19 -0300 Subject: [PATCH] fix readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 86e8487..9f9696c 100644 --- a/README.md +++ b/README.md @@ -60,9 +60,9 @@ io.use(socketioJwt.authorize({ io.on('connection', function (socket) { // in socket.io < 1.0 console.log('hello!', socket.handshake.decoded_token.name); - + // in socket.io 1.0 - console.log('hello! ', socket.client.request.decoded_token.name); + console.log('hello! ', socket.decoded_token.name); }) ```