node-ninjacat
Advanced tools
Comparing version 0.1.16 to 0.1.17
@@ -55,3 +55,3 @@ "use strict"; | ||
if (!body) { | ||
reject(`Recieved status code ${statusCode}`); | ||
reject(new Error(`Recieved status code ${statusCode}`)); | ||
return; | ||
@@ -61,3 +61,3 @@ } | ||
if (isError(body)) { | ||
reject(body.error_message); | ||
reject(new Error(body.error_message)); | ||
} | ||
@@ -102,3 +102,3 @@ else { | ||
if (!body) { | ||
reject(`Recieved status code ${statusCode}`); | ||
reject(new Error(`Recieved status code ${statusCode}`)); | ||
return; | ||
@@ -108,3 +108,3 @@ } | ||
if (isError(body)) { | ||
reject(body.error_message); | ||
reject(new Error(body.error_message)); | ||
} | ||
@@ -111,0 +111,0 @@ else { |
{ | ||
"name": "node-ninjacat", | ||
"description": "Reporting & Management API Client for https://www.ninjacat.io/", | ||
"version": "0.1.16", | ||
"version": "0.1.17", | ||
"main": "./lib/Client.js", | ||
@@ -6,0 +6,0 @@ "types": "./lib/Client.d.ts", |
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
16073