passport-rescuetime
Advanced tools
Comparing version 0.1.6 to 0.1.7
@@ -82,7 +82,8 @@ /** | ||
this._oauth2.get(this._userProfileURL, accessToken, function (err, body, res) { | ||
if (err) { return done(new InternalOAuthError('failed to fetch user profile', err)); } | ||
if (err) { console.log("AHH "+error); | ||
return done(new InternalOAuthError('failed to fetch user profile', err)); } | ||
try { | ||
var json = JSON.parse(body); | ||
console.log(json); | ||
console.log('YOYO ' + json); | ||
@@ -101,2 +102,3 @@ var profile = { provider: 'rescuetime' }; | ||
} catch(e) { | ||
console.log('messed up: ' + e); | ||
done(e); | ||
@@ -103,0 +105,0 @@ } |
{ | ||
"name": "passport-rescuetime", | ||
"version": "0.1.6", | ||
"version": "0.1.7", | ||
"description": "GitHub authentication strategy for Passport.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8588
112