Comparing version 2.0.3 to 2.0.4
@@ -16,3 +16,3 @@ class API extends Function { | ||
return config => { | ||
config = Object.assign({ method: key }, this.globalConfig, config); | ||
config = Object.assign({ method: key.toUpperCase() }, this.globalConfig, config); | ||
// Convert request body to JSON | ||
@@ -19,0 +19,0 @@ if (typeof config.body === 'object' && !(config.body instanceof Blob) && !(config.body instanceof FormData)) { |
{ | ||
"name": "apisdk", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"description": "APISDK for ES6", | ||
@@ -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
4518