From 2a5e93b015f78d0fc0e5e3367fc22d07bc8265b3 Mon Sep 17 00:00:00 2001 From: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com> Date: Tue, 28 Jan 2025 17:08:31 -0500 Subject: [PATCH] chore: Salesforce - Add additional logging (#18959) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Omar López --- packages/app-store/salesforce/lib/CrmService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/app-store/salesforce/lib/CrmService.ts b/packages/app-store/salesforce/lib/CrmService.ts index ea00be2ecd..a2d61bb625 100644 --- a/packages/app-store/salesforce/lib/CrmService.ts +++ b/packages/app-store/salesforce/lib/CrmService.ts @@ -470,7 +470,7 @@ export default class SalesforceCRMService implements CRM { ); } - if (contactsToCreate[0]?.email) { + if (!contactsToCreate[0]?.email) { this.log.warn(`createContact: no attendee email found `, contactsToCreate); }