Skip to content

Scheduling infrastructure for absolutely everyone.

fix

Agusti Fernandez Pardoa91dd428c0c8
diff --git a/lib/helpers/verifyApiKey.ts b/lib/helpers/verifyApiKey.ts
index 11d481815e8..38fa6b44c36 100644
--- a/lib/helpers/verifyApiKey.ts
+++ b/lib/helpers/verifyApiKey.ts
@@ -40,6 +40,5 @@ export const verifyApiKey: NextMiddleware = async (req, res, next) => {
if (!apiKey.userId) return res.status(404).json({ error: "No user found for this apiKey" });
/* We save the user id in the request for later use */
req.userId = apiKey.userId;
- console.log(`User ${apiKey.userId} verified`);
await next();
};
diff --git a/pages/api/event-types/index.ts b/pages/api/event-types/index.ts
index 786d4453f30..b5c82ef67d4 100644
--- a/pages/api/event-types/index.ts
+++ b/pages/api/event-types/index.ts
@@ -10,7 +10,6 @@ async function createOrlistAllEventTypes(
{ method, body, userId }: NextApiRequest,
res: NextApiResponse<EventTypesResponse | EventTypeResponse>
) {
- console.log("userId:", userId);
if (method === "GET") {
/**
* @swagger