Skip to content

Scheduling infrastructure for absolutely everyone.

fix: Logic fix in Salesforce no-show (#17516)

Joe Au-Yeung8f92c9b88471
diff --git a/packages/app-store/salesforce/lib/CrmService.ts b/packages/app-store/salesforce/lib/CrmService.ts
index a3916245b0e..2303d3efcc5 100644
--- a/packages/app-store/salesforce/lib/CrmService.ts
+++ b/packages/app-store/salesforce/lib/CrmService.ts
@@ -533,7 +533,7 @@ export default class SalesforceCRMService implements CRM {
const fields = salesforceEntity.fields;
const noShowField = fields.find((field) => field.name === sendNoShowAttendeeDataField);
- if (!noShowField || (!noShowField.type as unknown as string) !== "boolean") {
+ if (!noShowField || (noShowField.type as unknown as string) !== "boolean") {
this.log.warn(
`No show field on Salesforce doesn't exist or is not of type boolean for bookingUid ${bookingUid}`
);