Merge pull request #100 from calcom/production

Production
pull/9078/head
Agusti Fernandez Pardo 2022-05-27 21:20:01 +02:00 committed by GitHub
commit 81d2917a3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

View File

@ -36,9 +36,6 @@ async function createOrlistAllEventTypes(
select: { eventTypes: true },
})
.catch((error) => res.status(404).json({ message: "No event types were found", error }));
// const event_types = data.map(
// async (eventType) => await schemaEventTypeReadPublic.safeParseAsync(eventType)
// );
if (data) res.status(200).json({ event_types: data.eventTypes });
else
(error: Error) =>