minor changes

This commit is contained in:
2026-07-30 17:14:51 +02:00
parent 78dadbad88
commit 2e6cf6a53c
+1 -3
View File
@@ -104,7 +104,7 @@ async function attachPdfToAccount(sfdc, tempFiles, isDryRun = false) {
if (matchAccount) { // if we find something if (matchAccount) { // if we find something
console.log('--- Match found! ---'); console.log('--- Match found! ---');
if (isDryRun) { if (isDryRun) {
console.log('DRY RUN: non creato documento'); console.log('DRY RUN: document not created');
} }
else { else {
const nowIsoString = new Date().toISOString(); // current timestamp in UTC const nowIsoString = new Date().toISOString(); // current timestamp in UTC
@@ -131,8 +131,6 @@ async function attachPdfToAccount(sfdc, tempFiles, isDryRun = false) {
else { else {
console.log('Account non trovato su Salesforce!'); console.log('Account non trovato su Salesforce!');
} }
console.log(`Name: ${ matchAccount.Name }`);
console.log(`Name: ${ matchAccount.Id }`);
} }
finally { finally {
if (parser) { if (parser) {