fix for boolean values getting stripped when running processObject

This commit is contained in:
andz-bb 2024-03-21 16:10:52 +00:00
parent ed94459fd8
commit 55e0145fdb
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ export async function processObject<T extends Record<string, any>>(
for (const key of Object.keys(object || {})) { for (const key of Object.keys(object || {})) {
if (object[key] != null) { if (object[key] != null) {
const val = object[key] const val = object[key]
let parsedValue let parsedValue = val
if (typeof val === "string") { if (typeof val === "string") {
parsedValue = await processString(object[key], context, opts) parsedValue = await processString(object[key], context, opts)
} else if (typeof val === "object") { } else if (typeof val === "object") {