fix for showAttendees default value (#7389)
This commit is contained in:
@@ -582,7 +582,8 @@ async function handler(req: NextApiRequest & { userId?: number | undefined }) {
|
||||
hideCalendarNotes: eventType.hideCalendarNotes,
|
||||
requiresConfirmation: requiresConfirmation ?? false,
|
||||
eventTypeId: eventType.id,
|
||||
seatsShowAttendees: !!eventType.seatsShowAttendees,
|
||||
// if seats are not enabled we should default true
|
||||
seatsShowAttendees: !!eventType.seatsPerTimeSlot ? eventType.seatsShowAttendees : true,
|
||||
seatsPerTimeSlot: eventType.seatsPerTimeSlot,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user