client-oauth2
Advanced tools
Comparing version 0.2.3 to 0.2.4
@@ -332,5 +332,6 @@ /* global define */ | ||
.then(function (res) { | ||
if (res.status < 200 || res.status >= 300) { | ||
if (res.status < 200 || res.status >= 399) { | ||
var err = new Error('HTTP status ' + res.status) | ||
err.status = res.status | ||
err.body = res.body | ||
return Promise.reject(err) | ||
@@ -337,0 +338,0 @@ } |
{ | ||
"name": "client-oauth2", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"description": "Straight-forward library for executing OAuth 2.0 flows and making API requests.", | ||
@@ -5,0 +5,0 @@ "main": "client-oauth2.js", |
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
29554
692