From 48c9d4fa924acf058c50de922f59cfe8d6c86ae6 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Fri, 15 Aug 2014 22:48:52 -0400 Subject: [PATCH] more bugs --- library.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library.js b/library.js index 5073ae6..74fffef 100644 --- a/library.js +++ b/library.js @@ -58,7 +58,7 @@ try { var json = JSON.parse(body); - OAuth.parseUserReturn(body, function(err, profile) { + OAuth.parseUserReturn(json, function(err, profile) { if (err) return done(err); profile.provider = constants.name; done(null, profile); @@ -79,7 +79,7 @@ try { var json = JSON.parse(body); - OAuth.parseUserReturn(body, function(err, profile) { + OAuth.parseUserReturn(json, function(err, profile) { if (err) return done(err); profile.provider = constants.name; done(null, profile);