fix: filter attendees in emails when seatsShowAttendees is disabled (#27520)
* seated event * Reorder imports in attendee-scheduled-email.ts
This commit is contained in:
1 parent
4b7ea0c98f
commit
7611e0ea39
4 files changed
+277
-7
No files matched your search
@@ -88,6 +88,8 @@ export async function getBooking(bookingId: number) {
|
||||
parentId: true,
|
||||
},
|
||||
},
|
||||
seatsPerTimeSlot: true,
|
||||
seatsShowAttendees: true,
|
||||
},
|
||||
},
|
||||
metadata: true,
|
||||
@@ -196,6 +198,8 @@ export async function getBooking(bookingId: number) {
|
||||
destinationCalendar: selectedDestinationCalendar ? [selectedDestinationCalendar] : [],
|
||||
recurringEvent: parseRecurringEvent(eventType?.recurringEvent),
|
||||
customReplyToEmail: booking.eventType?.customReplyToEmail,
|
||||
seatsPerTimeSlot: booking.eventType?.seatsPerTimeSlot,
|
||||
seatsShowAttendees: booking.eventType?.seatsShowAttendees,
|
||||
};
|
||||
|
||||
return {
|
||||
|
||||
Reference in new issue
Block a user