passport-dingding
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -96,7 +96,4 @@ // Load modules. | ||
Strategy.prototype.userProfile = function (params, done) { | ||
if (!params.sns_token) { | ||
return done(new Error('sns_token is required for userProfile api')) | ||
} | ||
urllib.request(this._oauth2._userProfileURL + '?sns_token=' + params.sns_token, { | ||
Strategy.prototype.userProfile = function (sns_token, done) { | ||
urllib.request(this._oauth2._userProfileURL + '?sns_token=' + sns_token, { | ||
headers: { | ||
@@ -103,0 +100,0 @@ 'Content-Type': 'application/json' |
{ | ||
"name": "passport-dingding", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "dingding 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
6348
106