Merge pull request #95 from calcom/production
hotfix: debugging event-types in prod
This commit is contained in:
1 file changed
+1
@@ -33,6 +33,7 @@ async function createOrlistAllEventTypes(
|
|||||||
.findMany({ where: { userId } })
|
.findMany({ where: { userId } })
|
||||||
.catch((error) => res.status(404).json({ message: "No event types were found", error }));
|
.catch((error) => res.status(404).json({ message: "No event types were found", error }));
|
||||||
console.log("eventTypes:", data);
|
console.log("eventTypes:", data);
|
||||||
|
console.log("userId:", userId);
|
||||||
// const event_types = data.map(
|
// const event_types = data.map(
|
||||||
// async (eventType) => await schemaEventTypeReadPublic.safeParseAsync(eventType)
|
// async (eventType) => await schemaEventTypeReadPublic.safeParseAsync(eventType)
|
||||||
// );
|
// );
|
||||||
|
|||||||
Reference in new issue
Block a user