mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 08:58:41 +00:00
Website: update salesforce helper (#18789)
Changes: - Updated the `update-or-create-contact-and-account` helper to actually check the OwnerID of the returned account record (if one was found).
This commit is contained in:
parent
9e988cb216
commit
2990d09cb4
1 changed files with 1 additions and 1 deletions
|
|
@ -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 && existingAccountRecord.OwnerId !== '0054x00000735wDAAQ') {
|
||||
// Store the ID of the Account record we found.
|
||||
salesforceAccountId = existingAccountRecord.Id;
|
||||
salesforceAccountOwnerId = existingAccountRecord.OwnerId;
|
||||
|
|
|
|||
Loading…
Reference in a new issue