minor changes
This commit is contained in:
@@ -104,7 +104,7 @@ async function attachPdfToAccount(sfdc, tempFiles, isDryRun = false) {
|
||||
if (matchAccount) { // if we find something
|
||||
console.log('--- Match found! ---');
|
||||
if (isDryRun) {
|
||||
console.log('DRY RUN: non creato documento');
|
||||
console.log('DRY RUN: document not created');
|
||||
}
|
||||
else {
|
||||
const nowIsoString = new Date().toISOString(); // current timestamp in UTC
|
||||
@@ -131,8 +131,6 @@ async function attachPdfToAccount(sfdc, tempFiles, isDryRun = false) {
|
||||
else {
|
||||
console.log('Account non trovato su Salesforce!');
|
||||
}
|
||||
console.log(`Name: ${ matchAccount.Name }`);
|
||||
console.log(`Name: ${ matchAccount.Id }`);
|
||||
}
|
||||
finally {
|
||||
if (parser) {
|
||||
|
||||
Reference in New Issue
Block a user