minor changes
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user