feat: Salesforce - Disable creating new contacts (#15780)

Co-authored-by: zomars <[email protected]>
This commit is contained in:
Joe Au-Yeungandzomars authored and GitHub committed 2024-07-18 10:50:42 +00:00
1 parent f0464e72c7
commit 218f6d6eaf
10 files changed
+72 -29

No files matched your search

+1 -1
View File
@@ -72,7 +72,7 @@ const handleSetupSuccess = async (event: Stripe.Event) => {
},
});
if (!requiresConfirmation) {
const eventManager = new EventManager(user);
const eventManager = new EventManager(user, eventType?.metadata?.apps);
const scheduleResult = await eventManager.create(evt);
bookingData.references = { create: scheduleResult.referencesToCreate };
bookingData.status = BookingStatus.ACCEPTED;