hotfix: debugging event-types in prod

pull/9078/head
Agusti Fernandez Pardo 2022-05-23 22:55:53 +02:00
parent 44f0830b16
commit beca5152e9
1 changed files with 1 additions and 0 deletions

View File

@ -33,6 +33,7 @@ async function createOrlistAllEventTypes(
.findMany({ where: { userId } })
.catch((error) => res.status(404).json({ message: "No event types were found", error }));
console.log("eventTypes:", data);
console.log("userId:", userId);
// const event_types = data.map(
// async (eventType) => await schemaEventTypeReadPublic.safeParseAsync(eventType)
// );