@bzbs/react-api-client 1.4.11 → 1.4.13
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/README.md +1001 -48
- package/dist/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -159,7 +159,7 @@ var BaseService = class {
|
|
|
159
159
|
static createFormData(data, fileKey, file) {
|
|
160
160
|
const formData = new FormData();
|
|
161
161
|
for (const key in data) {
|
|
162
|
-
if (data[key]) {
|
|
162
|
+
if (data[key] !== void 0 && data[key] !== null && data[key] !== "") {
|
|
163
163
|
formData.append(key, data[key]);
|
|
164
164
|
}
|
|
165
165
|
}
|