mindoodb-app-sdk 0.0.58 → 0.0.59
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/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -300,7 +300,7 @@ function readAccepts(value, errors) {
|
|
|
300
300
|
types.push(type.trim().toLowerCase());
|
|
301
301
|
}
|
|
302
302
|
const folders = readOptionalBoolean(entry, "folders", errors);
|
|
303
|
-
const multiple = readOptionalBoolean(entry, "multiple", errors);
|
|
303
|
+
const multiple = entry.multiple === false ? false : readOptionalBoolean(entry, "multiple", errors);
|
|
304
304
|
let maxBytes;
|
|
305
305
|
if (entry.maxBytes !== void 0) {
|
|
306
306
|
if (typeof entry.maxBytes !== "number" || !Number.isSafeInteger(entry.maxBytes) || entry.maxBytes <= 0) {
|