Skip to content

Scheduling infrastructure for absolutely everyone.

fix: users still get updated email when reassign event after disabling standard emails (#23906)

Anik Dhabal Babuefba58a36a81
diff --git a/packages/features/ee/round-robin/roundRobinManualReassignment.ts b/packages/features/ee/round-robin/roundRobinManualReassignment.ts
index c3cded43d05..11b1221c7f3 100644
--- a/packages/features/ee/round-robin/roundRobinManualReassignment.ts
+++ b/packages/features/ee/round-robin/roundRobinManualReassignment.ts
@@ -433,6 +433,7 @@ export const roundRobinManualReassignment = async ({
// send email with event updates to attendees
await sendRoundRobinUpdatedEmailsAndSMS({
calEvent: evtWithoutCancellationReason,
+ eventTypeMetadata: eventType?.metadata as EventTypeMetadata,
});
}
diff --git a/packages/features/ee/round-robin/roundRobinReassignment.ts b/packages/features/ee/round-robin/roundRobinReassignment.ts
index f3fe5fb6d65..796600d711d 100644
--- a/packages/features/ee/round-robin/roundRobinReassignment.ts
+++ b/packages/features/ee/round-robin/roundRobinReassignment.ts
@@ -483,6 +483,7 @@ export const roundRobinReassignment = async ({
// send email with event updates to attendees
await sendRoundRobinUpdatedEmailsAndSMS({
calEvent: evtWithoutCancellationReason,
+ eventTypeMetadata: eventType?.metadata as EventTypeMetadata,
});
}