clever-client
Advanced tools
Comparing version 1.0.0-alpha.5 to 1.0.0-alpha.6
@@ -22,3 +22,7 @@ 'use strict'; | ||
if (response.status === 204) { | ||
return; | ||
} | ||
return requestParams.headers['Accept'] === 'application/json' ? response.json() : response.text(); | ||
} |
@@ -24,2 +24,6 @@ 'use strict'; | ||
if (response.status === 204) { | ||
return; | ||
} | ||
return (requestParams.headers['Accept'] === 'application/json') | ||
@@ -26,0 +30,0 @@ ? response.json() |
{ | ||
"name": "clever-client", | ||
"version": "1.0.0-alpha.5", | ||
"version": "1.0.0-alpha.6", | ||
"description": "JavaScript REST client for Clever-Cloud API", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
279044
9310