File tree Expand file tree Collapse file tree
packages/features/ee/workflows/lib/service Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ import type {
3535 ScheduleEmailReminderAction ,
3636} from "../types" ;
3737import { WorkflowService } from "./WorkflowService" ;
38+ import { getVideoCallUrlFromCalEvent } from "@calcom/lib/CalEventParser" ;
3839
3940export class EmailWorkflowService {
4041 constructor (
@@ -310,8 +311,7 @@ export class EmailWorkflowService {
310311 organizerEmail : evt . organizer . email ,
311312 sendToEmail : sendTo [ 0 ] ,
312313 } ) ;
313- const meetingUrl =
314- evt . videoCallData ?. url || bookingMetadataSchema . parse ( evt . metadata || { } ) ?. videoCallUrl ;
314+ const meetingUrl = getVideoCallUrlFromCalEvent ( evt ) || bookingMetadataSchema . parse ( evt . metadata || { } ) ?. videoCallUrl ;
315315 const variables : VariablesType = {
316316 eventName : evt . title || "" ,
317317 organizerName : evt . organizer . name ,
You can’t perform that action at this time.
0 commit comments