From beca5152e9abbb453fd92a43933281c8496adab5 Mon Sep 17 00:00:00 2001 From: Agusti Fernandez Pardo Date: Mon, 23 May 2022 22:55:53 +0200 Subject: [PATCH] hotfix: debugging event-types in prod --- pages/api/event-types/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/pages/api/event-types/index.ts b/pages/api/event-types/index.ts index a349cb3f92..c3a7cc954f 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) // );