Skip to content

Scheduling infrastructure for absolutely everyone.

hotfix: debugging event-types in prod

Agusti Fernandez Pardobeca5152e9ab
diff --git a/pages/api/event-types/index.ts b/pages/api/event-types/index.ts
index a349cb3f92c..c3a7cc954f5 100644
--- a/pages/api/event-types/index.ts
+++ b/pages/api/event-types/index.ts
@@ -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)
// );