The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Remove console.log
Kiran K95391c3386a4
diff --git a/apps/web/lib/auth/index.ts b/apps/web/lib/auth/index.tsindex bc538f4e27..1adb3ded19 100644--- a/apps/web/lib/auth/index.ts+++ b/apps/web/lib/auth/index.ts@@ -120,7 +120,7 @@ export const withAuth = (const slug = params?.slug || searchParams.projectSlug;const workspaceId = params?.workspaceId || searchParams.workspaceId;- console.log({ params, searchParams });+try {// if there's no projectSlug definedif (!slug) {@@ -535,7 +535,6 @@ export const withSession =const searchParams = getSearchParams(req.url);return await handler({ req, params, searchParams, session });} catch (error) {- console.error("withSession Error -->", error.message);return handleAndReturnErrorResponse(error);}};