Fixed , bug
All checks were successful
thehideout/TheHideout-API/pipeline/head This commit looks good

This commit is contained in:
Tom Butcher 2026-01-03 00:05:11 +00:00
parent 86bd0b7fc8
commit b10247509a

View File

@ -63,7 +63,7 @@ export async function addToNotionDataSource(
} else if (key === "Features") { } else if (key === "Features") {
notionProperties[key] = { notionProperties[key] = {
multi_select: value.map((feature) => ({ multi_select: value.map((feature) => ({
name: feature, name: feature.replace(/,/g, ";"),
})), })),
}; };
} else if (key === "Message" && value != "") { } else if (key === "Message" && value != "") {
@ -188,7 +188,7 @@ export async function updateNotionPage(
} else if (key === "Features") { } else if (key === "Features") {
notionProperties[key] = { notionProperties[key] = {
multi_select: value.map((feature) => ({ multi_select: value.map((feature) => ({
name: feature, name: feature.replace(/,/g, ";"),
})), })),
}; };
} else if (typeof value === "string" && value != "") { } else if (typeof value === "string" && value != "") {