From 9e988cb216e2b0464e2391971b4b219f398e46ae Mon Sep 17 00:00:00 2001 From: Eric Date: Mon, 6 May 2024 19:51:21 -0500 Subject: [PATCH] Website: Fix round robin in update-or-create-contact-and-account.js. (#18788) Changes: - Fixed a conditional that was determining if existing account records should be round-robined or not. --- .../helpers/salesforce/update-or-create-contact-and-account.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/api/helpers/salesforce/update-or-create-contact-and-account.js b/website/api/helpers/salesforce/update-or-create-contact-and-account.js index 6e27ae560d..54963dae74 100644 --- a/website/api/helpers/salesforce/update-or-create-contact-and-account.js +++ b/website/api/helpers/salesforce/update-or-create-contact-and-account.js @@ -94,7 +94,7 @@ module.exports = { // 'LinkedIn_company_URL__c': enrichmentData.employer.linkedinCompanyPageUrl // TODO: if this information is not present on an existing account, nothing will be returned. }); // console.log(existingAccountRecord); - if(existingAccountRecord && salesforceAccountId === '0054x00000735wDAAQ') { + if(existingAccountRecord && salesforceAccountId !== '0054x00000735wDAAQ') { // Store the ID of the Account record we found. salesforceAccountId = existingAccountRecord.Id; salesforceAccountOwnerId = existingAccountRecord.OwnerId;