@digipair/skill-http 0.44.1 → 0.45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs.js +1 -1
- package/index.esm.js +1 -1
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -11929,7 +11929,7 @@ let HttpService = class HttpService {
|
|
|
11929
11929
|
return this.IS_JSON ? response.json() : response.text();
|
|
11930
11930
|
}
|
|
11931
11931
|
appendParam(formData, param) {
|
|
11932
|
-
if (param.
|
|
11932
|
+
if (param.type == 'text') {
|
|
11933
11933
|
formData.append(param.name, param.value);
|
|
11934
11934
|
} else if (param.type === 'file') {
|
|
11935
11935
|
// Gestion des fichiers encodés en base64
|
package/index.esm.js
CHANGED
|
@@ -11915,7 +11915,7 @@ let HttpService = class HttpService {
|
|
|
11915
11915
|
return this.IS_JSON ? response.json() : response.text();
|
|
11916
11916
|
}
|
|
11917
11917
|
appendParam(formData, param) {
|
|
11918
|
-
if (param.
|
|
11918
|
+
if (param.type == 'text') {
|
|
11919
11919
|
formData.append(param.name, param.value);
|
|
11920
11920
|
} else if (param.type === 'file') {
|
|
11921
11921
|
// Gestion des fichiers encodés en base64
|