Merge pull request #1200 from 0x0elliot/0x0elliot/fixing-getJsonObject

TypeError: "subloop" is read-only
This commit is contained in:
Frikky
2023-09-19 14:35:20 +02:00
committed by GitHub
+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