This commit is contained in:
Adria Navarro 2024-03-15 00:07:05 +01:00
parent cfb1665ed9
commit 49cca6d69a
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
import { validate as isValidUUID } from "uuid"
import { processStringSync, encodeJSBinding } from "@budibase/string-templates"
import { runJsHelpersTests } from "@budibase/string-templates/test/utils"
const { runJsHelpersTests } = require("@budibase/string-templates/test/utils")
import tk from "timekeeper"
import { init } from ".."

View File

@ -98,7 +98,7 @@ export async function processObject<T extends Record<string, any>>(
} else if (typeof val === "object") {
parsedValue = await processObject(object[key], context, opts)
}
;(object as any)[key] = parsedValue
object = { ...object, [key]: parsedValue }
}
}
return object