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
@@ -151,6 +151,8 @@ export const confirmHandler = async ({ ctx, input }: ConfirmOptions) => {
|
||||
hideCalendarEventDetails: true,
|
||||
disableGuests: true,
|
||||
customReplyToEmail: true,
|
||||
seatsPerTimeSlot: true,
|
||||
seatsShowAttendees: true,
|
||||
metadata: true,
|
||||
locations: true,
|
||||
team: {
|
||||
@@ -322,6 +324,8 @@ export const confirmHandler = async ({ ctx, input }: ConfirmOptions) => {
|
||||
hideCalendarEventDetails: booking.eventType?.hideCalendarEventDetails,
|
||||
eventTypeId: booking.eventType?.id,
|
||||
customReplyToEmail: booking.eventType?.customReplyToEmail,
|
||||
seatsPerTimeSlot: booking.eventType?.seatsPerTimeSlot,
|
||||
seatsShowAttendees: booking.eventType?.seatsShowAttendees,
|
||||
team: booking.eventType?.team
|
||||
? {
|
||||
name: booking.eventType.team.name,
|
||||
|
||||
Reference in new issue
Block a user