Comparing version 1.22.0 to 1.23.0
@@ -23,3 +23,7 @@ /* | ||
, code = parseInt(res.statusCode) | ||
, callback= function(err, json) { json.status_code = code; next(err, json) } | ||
, callback= function(err, json) { | ||
json = json || {} | ||
json.status_code = code | ||
next(err, json) | ||
} | ||
@@ -26,0 +30,0 @@ if(code === 500) err = new Error.OriskamiInternalServerError(json) |
{ | ||
"name": "oriskami", | ||
"version": "1.22.0", | ||
"version": "1.23.0", | ||
"description": "API wrapper to Oriskami", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
118638
2265
56