From 390f9915ddcd2566f9f2657ae8c9037df762cd2b Mon Sep 17 00:00:00 2001 From: Eric Date: Tue, 19 Nov 2024 14:11:19 -0600 Subject: [PATCH] Update CRM records created by the website --- website/api/hooks/custom/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/website/api/hooks/custom/index.js b/website/api/hooks/custom/index.js index 0c421415d22b..1e6d150087eb 100644 --- a/website/api/hooks/custom/index.js +++ b/website/api/hooks/custom/index.js @@ -325,6 +325,7 @@ will be disabled and/or hidden in the UI. return await salesforceConnection.sobject('fleet_website_page_views__c') .create({ Contact__c: recordIds.salesforceContactId,// eslint-disable-line camelcase + Account__c: recordIds.salesforceAccountId,// eslint-disable-line camelcase Page_URL__c: `https://fleetdm.com${req.url}`,// eslint-disable-line camelcase Visited_on__c: nowOn,// eslint-disable-line camelcase Website_visit_reason__c: websiteVisitReason// eslint-disable-line camelcase