fix: add reschedule by (#21363)

This commit is contained in:
Anik Dhabal Babu
2025-05-16 17:14:06 +00:00
committed by GitHub
parent f5ffee0a20
commit 37dd6d888b
3 changed files with 5 additions and 0 deletions
@@ -105,6 +105,9 @@ export const BaseScheduledEmail = (
)}
</>
)}
{props.calEvent.rescheduledBy && (
<Info label={t("rescheduled_by")} description={props.calEvent.rescheduledBy} withSpacer />
)}
<Info label={t("what")} description={props.calEvent.title} withSpacer />
<WhenInfo timeFormat={timeFormat} calEvent={props.calEvent} t={t} timeZone={timeZone} locale={locale} />
<WhoInfo calEvent={props.calEvent} t={t} />
@@ -1449,6 +1449,7 @@ async function handler(
await WorkflowRepository.deleteAllWorkflowReminders(originalRescheduledBooking.workflowReminders);
evt = addVideoCallDataToEvent(originalRescheduledBooking.references, evt);
evt.rescheduledBy = reqBody.rescheduledBy;
// If organizer is changed in RR event then we need to delete the previous host destination calendar events
const previousHostDestinationCalendar = originalRescheduledBooking?.destinationCalendar
+1
View File
@@ -220,6 +220,7 @@ export interface CalendarEvent {
delegationCredentialId?: string | null;
domainWideDelegationCredentialId?: string | null;
customReplyToEmail?: string | null;
rescheduledBy?: string;
}
export interface EntryPoint {