Skip to content

Scheduling infrastructure for absolutely everyone.

chore: Salesforce - Add additional logging (#18959)

Joe Au-Yeung2a5e93b015f7
diff --git a/packages/app-store/salesforce/lib/CrmService.ts b/packages/app-store/salesforce/lib/CrmService.ts
index ea00be2ecde..a2d61bb625f 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);
}