dryRun hardcoded tolto
This commit is contained in:
1 parent
fca6acaf45
commit
8be2e360e5
1 file changed
+1
-1
@@ -131,7 +131,7 @@ async function createHubspotContacts(leadContactsPayload, isDryRun) {
|
|||||||
async function runConnector() {
|
async function runConnector() {
|
||||||
let isDryRun = process.argv.includes('--dryRun') || process.argv.includes('--dryrun');
|
let isDryRun = process.argv.includes('--dryRun') || process.argv.includes('--dryrun');
|
||||||
|
|
||||||
isDryRun = true;
|
//isDryRun = true;
|
||||||
// here we consider the last time we ran the connector
|
// here we consider the last time we ran the connector
|
||||||
let lastRunDate = ''; // we will use this to simplify the management of the leads
|
let lastRunDate = ''; // we will use this to simplify the management of the leads
|
||||||
let currentDate = new Date().toISOString(); // we consider only the date of the current datestamp
|
let currentDate = new Date().toISOString(); // we consider only the date of the current datestamp
|
||||||
|
|||||||
Reference in new issue
Block a user