From 5af8b379c4fa0c36ae11740ea14581e72864fcef Mon Sep 17 00:00:00 2001 From: "Denise D." Date: Mon, 27 Jul 2026 15:15:26 +0200 Subject: [PATCH] small changes --- .gitignore | 1 + file.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 6ed48a9..f3a1e80 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ .env node_modules +.DS_STORE diff --git a/file.js b/file.js index 10c7e2a..a91172c 100644 --- a/file.js +++ b/file.js @@ -67,7 +67,7 @@ async function attachPdfToAccount(sfdc) { const nameMatch = result.text.match(/Il\s+Sig\.\/La\s+Sig\.ra[ \t]+([A-Za-zÀ-ÿ']+(?:[ \t]+[A-Za-zÀ-ÿ']+)+)/i); if (nameMatch) { - const rawName = nameMatch[1].trim(); // "Kan Jessica Shuk Yi" + const rawName = nameMatch[1].trim(); const parts = rawName.split(/\s+/); if (parts.length >= 2) {