node-box-api
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -13,4 +13,4 @@ 'use strict'; | ||
.end(function(err, res) { | ||
if(res.error) { | ||
return done('Error: ' + res.error.message); | ||
if(err) { | ||
return done('Error: ' + err); | ||
} | ||
@@ -30,4 +30,4 @@ done(null, res.body); | ||
.end(function(err, res) { | ||
if(res.error) { | ||
return done('Error: ' + res.error.message); | ||
if(err) { | ||
return done('Error: ' + err); | ||
} | ||
@@ -53,4 +53,4 @@ done(null, res.headers.location); | ||
.end(function(err, res) { | ||
if(res.error) { | ||
return done('Error: ' + res.error.message); | ||
if(err) { | ||
return done('Error: ' + err); | ||
} | ||
@@ -57,0 +57,0 @@ done(null, res); |
@@ -13,4 +13,4 @@ 'use strict'; | ||
.end(function(err, res) { | ||
if(res.error) { | ||
return done('Error: ' + res.error.message); | ||
if(err) { | ||
return done('Error: ' + err); | ||
} | ||
@@ -25,4 +25,4 @@ done(null, res.body); | ||
.end(function(err, res) { | ||
if(res.error) { | ||
return done('Error: ' + res.error.message); | ||
if(err) { | ||
return done('Error: ' + err); | ||
} | ||
@@ -45,4 +45,4 @@ done(null, res.body); | ||
.end(function(err, res) { | ||
if(res.error) { | ||
return done('Error: ' + res.error.message); | ||
if(err) { | ||
return done('Error: ' + err); | ||
} | ||
@@ -49,0 +49,0 @@ done(null, res.body); |
{ | ||
"name": "node-box-api", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Box API for Nodejs", | ||
@@ -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
8070