Remove console log

This commit is contained in:
Joe Au-Yeung
2022-10-06 10:59:46 -04:00
parent 34f5f5f83f
commit 48f270d032
-1
View File
@@ -52,7 +52,6 @@ async function createOrlistAllEventTypes(
},
...(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));
if (event_types) res.status(200).json({ event_types });
}