feat: Record Salesforce ownership assignment (#17775)

This commit is contained in:
Joe Au-Yeung authored and GitHub committed 2024-11-21 14:22:39 -07:00
1 parent 04b49acbb0
commit 1490642260
20 files changed
+279 -63

No files matched your search

@@ -52,6 +52,8 @@ export const useHandleBookEvent = ({
const isInstantMeeting = useBookerStore((state) => state.isInstantMeeting);
const orgSlug = useBookerStore((state) => state.org);
const teamMemberEmail = useBookerStore((state) => state.teamMemberEmail);
const crmOwnerRecordType = useBookerStore((state) => state.crmOwnerRecordType);
const crmAppSlug = useBookerStore((state) => state.crmAppSlug);
const handleBookEvent = () => {
const values = bookingForm.getValues();
@@ -91,6 +93,8 @@ export const useHandleBookEvent = ({
metadata: metadata,
hashedLink,
teamMemberEmail,
crmOwnerRecordType,
crmAppSlug,
orgSlug: orgSlug ? orgSlug : undefined,
};