fix: meeting url missing in workflow email (#16434)

Co-authored-by: CarinaWolli <[email protected]>
Co-authored-by: Joe Au-Yeung <[email protected]>
This commit is contained in:
authored and GitHub committed 2024-09-04 17:56:20 +00:00
1 parent eb472cba36
commit e9c71abd6f
4 files changed
+12 -3

No files matched your search

@@ -462,6 +462,8 @@ export const roundRobinReassignment = async ({ bookingId }: { bookingId: number
},
});
const workflowEventMetadata = { videoCallUrl: getVideoCallUrlFromCalEvent(evt) };
for (const workflowReminder of workflowReminders) {
const workflowStep = workflowReminder?.workflowStep;
const workflow = workflowStep?.workflow;
@@ -470,6 +472,7 @@ export const roundRobinReassignment = async ({ bookingId }: { bookingId: number
await scheduleEmailReminder({
evt: {
...evt,
metadata: workflowEventMetadata,
eventType,
},
action: WorkflowActions.EMAIL_HOST,
@@ -531,8 +534,6 @@ export const roundRobinReassignment = async ({ bookingId }: { bookingId: number
},
});
const workflowEventMetadata = { videoCallUrl: getVideoCallUrlFromCalEvent(evt) };
await scheduleWorkflowReminders({
workflows: newEventWorkflows,
smsReminderNumber: null,