Remove console log
parent
34f5f5f83f
commit
48f270d032
|
@ -52,7 +52,6 @@ async function createOrlistAllEventTypes(
|
||||||
},
|
},
|
||||||
...(Array.isArray(body.userId) && { orderBy: { userId: "asc" } }),
|
...(Array.isArray(body.userId) && { orderBy: { userId: "asc" } }),
|
||||||
});
|
});
|
||||||
console.log("🚀 ~ file: index.ts ~ line 50 ~ data", data);
|
|
||||||
const event_types = data.map((eventType) => schemaEventTypeReadPublic.parse(eventType));
|
const event_types = data.map((eventType) => schemaEventTypeReadPublic.parse(eventType));
|
||||||
if (event_types) res.status(200).json({ event_types });
|
if (event_types) res.status(200).json({ event_types });
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue