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.

excludePartnerLinks

Kiran K7594f9ff794b
diff --git a/apps/web/app/api/links/route.ts b/apps/web/app/api/links/route.ts
index 086d7c4b78..167c73e670 100644
--- a/apps/web/app/api/links/route.ts
+++ b/apps/web/app/api/links/route.ts
@@ -35,7 +35,6 @@ export const GET = withWorkspace(
includeWebhooks,
includeDashboard,
linkIds,
- excludePartnerLinks,
} = getLinksQuerySchemaExtended.parse(searchParams);
if (domain) {
@@ -58,7 +57,6 @@ export const GET = withWorkspace(
includeWebhooks,
includeDashboard,
linkIds,
- excludePartnerLinks,
});
return NextResponse.json(response, {
diff --git a/apps/web/lib/zod/schemas/links.ts b/apps/web/lib/zod/schemas/links.ts
index 37d0e8bac8..7b450e4c02 100644
--- a/apps/web/lib/zod/schemas/links.ts
+++ b/apps/web/lib/zod/schemas/links.ts
@@ -600,7 +600,6 @@ export const getLinksQuerySchemaExtended = getLinksQuerySchema.merge(
.transform((v) => (Array.isArray(v) ? v : v.split(",")))
.optional()
.describe("Link IDs to filter by."),
- excludePartnerLinks: booleanQuerySchema.default("false"),
}),
);