diff --git a/src/utils/notion.js b/src/utils/notion.js index 2bd4c0b..2e3162b 100644 --- a/src/utils/notion.js +++ b/src/utils/notion.js @@ -63,7 +63,7 @@ export async function addToNotionDataSource( } else if (key === "Features") { notionProperties[key] = { multi_select: value.map((feature) => ({ - name: feature, + name: feature.replace(/,/g, ";"), })), }; } else if (key === "Message" && value != "") { @@ -188,7 +188,7 @@ export async function updateNotionPage( } else if (key === "Features") { notionProperties[key] = { multi_select: value.map((feature) => ({ - name: feature, + name: feature.replace(/,/g, ";"), })), }; } else if (typeof value === "string" && value != "") {