diff --git a/packages/trpc/server/routers/viewer/slots/util.ts b/packages/trpc/server/routers/viewer/slots/util.ts index 38062a6bc9..247557817a 100644 --- a/packages/trpc/server/routers/viewer/slots/util.ts +++ b/packages/trpc/server/routers/viewer/slots/util.ts @@ -566,13 +566,6 @@ export async function getAvailableSlots({ input, ctx }: GetScheduleOptions) { r[dateString].push({ ...passThroughProps, time: time.toISOString(), - users: (eventType.hosts - ? eventType.hosts.map((hostUserWithCredentials) => { - const { user } = hostUserWithCredentials; - return user; - }) - : eventType.users - ).map((user) => user.username || ""), // Conditionally add the attendees and booking id to slots object if there is already a booking during that time ...(currentSeats?.some((booking) => booking.startTime.toISOString() === time.toISOString()) && { attendees: