fix: type error that is visible now (#16090)

* fix type error

* fix
This commit is contained in:
Anik Dhabal Babu
2024-08-06 15:09:04 +00:00
committed by GitHub
parent 7f1e20fe19
commit d342e3f9e0
2 changed files with 2 additions and 0 deletions
@@ -234,6 +234,7 @@ export const roundRobinReassignment = async ({ bookingId }: { bookingId: number
host: organizer.name || "Nameless",
location: bookingLocation || "integrations:daily",
bookingFields: { ...responses },
eventDuration: eventType.length,
t: organizerT,
};
@@ -119,6 +119,7 @@ export const getEventTypesByViewer = async (user: User, filters?: Filters, forRo
)
),
metadata: eventType.metadata ? EventTypeMetaDataSchema.parse(eventType.metadata) : null,
parent: eventType.parent,
children: await Promise.all(
(eventType.children || []).map(async (c) => ({
...c,