more bugs

This commit is contained in:
Julian Lam 2014-08-15 22:48:52 -04:00
parent 3efedd0eed
commit 48c9d4fa92

View File

@ -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);