Skip to content

Commit 1594567

Browse files
authored
fix: issue with workflow meetingUrl (calcom#25620)
1 parent dde6e7d commit 1594567

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/features/ee/workflows/lib/service/EmailWorkflowService.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ import type {
3535
ScheduleEmailReminderAction,
3636
} from "../types";
3737
import { WorkflowService } from "./WorkflowService";
38+
import { getVideoCallUrlFromCalEvent } from "@calcom/lib/CalEventParser";
3839

3940
export 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,

0 commit comments

Comments
 (0)