Scheduling infrastructure for absolutely everyone.
fix: move log of userId
Agusti Fernandez Pardo4629c5d5c77a
diff --git a/pages/api/event-types/index.ts b/pages/api/event-types/index.tsindex c3a7cc954f5..1ab736eec26 100644--- a/pages/api/event-types/index.ts+++ b/pages/api/event-types/index.ts@@ -10,6 +10,7 @@ async function createOrlistAllEventTypes({ method, body, userId }: NextApiRequest,res: NextApiResponse<EventTypesResponse | EventTypeResponse>) {+ console.log("userId:", userId);if (method === "GET") {/*** @swagger@@ -33,7 +34,6 @@ 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)// );