From ed404bffcb3fb01f6385385c9ab8c9147a8c5ac9 Mon Sep 17 00:00:00 2001 From: Daniel Howard Date: Fri, 27 Jun 2014 15:37:18 -0700 Subject: [PATCH] Add hub as argument #3 to authentication calls. --- server/middleware/im/hub.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/middleware/im/hub.js b/server/middleware/im/hub.js index b23b0a6..b5745ab 100644 --- a/server/middleware/im/hub.js +++ b/server/middleware/im/hub.js @@ -84,12 +84,12 @@ Hub.prototype.get = function(req, fn) { o_.bind(session.receivedUpdate, session)); this.set(req.sessionID, session); fn(null, session); - }, this)); + }, this), this); session.status(null, {status: packages.STATUSES[0], message: ''}); } else { fn(); } - }, this)); + }, this), this); } };