@prismatic-io/spectral
Advanced tools
Comparing version 6.5.1 to 6.5.2
@@ -133,3 +133,5 @@ "use strict"; | ||
} | ||
const payload = values.data || toFormData(values.formData, values.fileData); | ||
const payload = !(0, lodash_1.isEmpty)(values.formData) || !(0, lodash_1.isEmpty)(values.fileData) | ||
? toFormData(values.formData, values.fileData) | ||
: values.data; | ||
const client = (0, exports.createClient)({ | ||
@@ -136,0 +138,0 @@ baseUrl, |
{ | ||
"name": "@prismatic-io/spectral", | ||
"version": "6.5.1", | ||
"version": "6.5.2", | ||
"description": "Utility library for building Prismatic components", | ||
@@ -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
130638
2908