From dd505a9e0c959147e9431bbb3e5681ada30be0e4 Mon Sep 17 00:00:00 2001 From: burc sahinoglu Date: Tue, 10 Jul 2012 11:31:39 -0700 Subject: [PATCH] fix for issue #2 the signature of the callback used by the get method was changed to support an err parameter. this wasn't reflected in the call to me() --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 3bb5476..5894fd6 100644 --- a/index.js +++ b/index.js @@ -103,7 +103,7 @@ var FaceplateSession = function(plate, signed_request) { this.me = function(cb) { if (self.token) { - self.get('/me', function(me) { + self.get('/me', function(err, me) { cb(me); }); } else {