Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Revert

Kiran Kd77a22b60abf
diff --git a/apps/web/app/api/projects/[slug]/domains/[domain]/exists/route.ts b/apps/web/app/api/projects/[slug]/domains/[domain]/exists/route.ts
index 34471cef6b..88f74d26bd 100644
--- a/apps/web/app/api/projects/[slug]/domains/[domain]/exists/route.ts
+++ b/apps/web/app/api/projects/[slug]/domains/[domain]/exists/route.ts
@@ -3,11 +3,11 @@ import { withAuth } from "@/lib/auth";
import { NextResponse } from "next/server";
// GET /api/projects/[slug]/domains/[domain]/exists – check if a domain exists
-export const GET = withAuth(async ({ domain }) => {
+export const GET = withAuth(async ({ domain, project }) => {
const exists = await domainExists(domain);
if (exists) {
return NextResponse.json(1);
} else {
return NextResponse.json(0);
}
-});
+});
\ No newline at end of file