icalsequence fix (#26815)

This commit is contained in:
Syed Ali Shahbaz
2026-01-14 10:08:19 +05:30
committed by GitHub
parent 851aa30829
commit f4303d8d60
2 changed files with 3 additions and 1 deletions
@@ -34,6 +34,7 @@ class CalendarEventClass implements CalendarEvent {
additionalNotes?: string | null | undefined;
recurrence?: string;
iCalUID?: string | null;
iCalSequence?: number | null;
customReplyToEmail?: string | null;
organizationId?: number | null;
@@ -166,6 +166,7 @@ export const requestRescheduleHandler = async ({ ctx, input, source }: RequestRe
),
organizer,
iCalUID: bookingToReschedule.iCalUID,
iCalSequence: (bookingToReschedule.iCalSequence ?? 0) + 1,
customReplyToEmail: bookingToReschedule.eventType?.customReplyToEmail,
team: bookingToReschedule.eventType?.team
? {
@@ -274,7 +275,7 @@ export const requestRescheduleHandler = async ({ ctx, input, source }: RequestRe
cancelledBy: user.email,
eventTypeId: bookingToReschedule.eventTypeId,
length: bookingToReschedule.eventType?.length ?? null,
iCalSequence: (bookingToReschedule.iCalSequence ?? 0) + 1,
iCalSequence: builder.calendarEvent.iCalSequence,
eventTitle: bookingToReschedule.eventType?.title ?? null,
requestReschedule: true,
});