The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
fix project creation bug
Steven Tey345c9c4adac8
diff --git a/apps/web/app/api/projects/route.ts b/apps/web/app/api/projects/route.tsindex 13c4c96a31..32df09eb52 100644--- a/apps/web/app/api/projects/route.ts+++ b/apps/web/app/api/projects/route.ts@@ -96,7 +96,7 @@ export const POST = withSession(async ({ req, session }) => {slug: true,},}),- domainExists(domain),+ domain ? domainExists(domain) : false,]);if (slugExist || domainExist) {return NextResponse.json(