fix: subloop read-only typeerror bug

This commit is contained in:
Aditya
2023-09-18 22:59:52 +05:30
parent 45a0583728
commit f1171ee222
+1 -1
View File
@@ -286,7 +286,7 @@ const getJsonObject = (properties) => {
for (let key in properties) {
const property = properties[key];
const subloop = false
let subloop = false
if (property.hasOwnProperty("type")) {
if (property.type === "object" || property.type === "array") {
subloop = true