Comparing version 1.0.10 to 1.0.11
11
index.js
@@ -59,6 +59,9 @@ | ||
const encodeParams = Object.keys(params).map(function(p) { | ||
return p + '=' + params[p]; | ||
}); | ||
endpointUrl+= '?' + encodeParams.join('&'); | ||
if(method === 'GET') { | ||
const encodeParams = Object.keys(params).map(function(p) { | ||
return p + '=' + params[p]; | ||
}); | ||
endpointUrl+= '?' + encodeParams.join('&'); | ||
} | ||
const debug_mode = this.debug_mode; | ||
@@ -65,0 +68,0 @@ return new Promise( |
{ | ||
"name": "cc-api", | ||
"version": "1.0.10", | ||
"version": "1.0.11", | ||
"description": "cc api", | ||
@@ -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
5026
91