Comparing version 1.1.1 to 1.1.2
@@ -55,3 +55,3 @@ 'use strict' | ||
proto.error = function (res) { | ||
var message = res.body.message || res.body.msg | ||
var message = res.body.message || res.body.msg || res.body.title | ||
var name = res.body.name | ||
@@ -99,2 +99,3 @@ var code = res.body.code | ||
json: true, | ||
gzip: true, | ||
body: body | ||
@@ -101,0 +102,0 @@ }, function (err, res, responseBody) { |
{ | ||
"name": "api-http", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "Simple Node.js class for performing HTTP API requests.", | ||
@@ -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
7963
111