eh-api-client
Advanced tools
Comparing version 0.7.0 to 0.7.1
@@ -11,3 +11,3 @@ var | ||
} | ||
error.httpCode = res.statusCode; | ||
error.httpStatus = res.statusCode; | ||
return error; | ||
@@ -93,3 +93,3 @@ } | ||
if(res.statusCode < 200 || res.statusCode >= 300) { | ||
return cb(buildError(res, data)); | ||
return cb(buildError(res, data), null, res); | ||
} | ||
@@ -96,0 +96,0 @@ cb(null, data, res); |
{ | ||
"name": "eh-api-client", | ||
"version": "0.7.0", | ||
"version": "0.7.1", | ||
"description": "Node.js rest client", | ||
@@ -5,0 +5,0 @@ "main": "index.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
8072