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.

restrict params

Steven Teyfe3811843d10
diff --git a/apps/web/app/api/partner-profile/programs/[programId]/analytics/route.ts b/apps/web/app/api/partner-profile/programs/[programId]/analytics/route.ts
index e0c005947f..571652ece3 100644
--- a/apps/web/app/api/partner-profile/programs/[programId]/analytics/route.ts
+++ b/apps/web/app/api/partner-profile/programs/[programId]/analytics/route.ts
@@ -15,10 +15,12 @@ export const GET = withPartnerProfile(
const parsedParams = analyticsQuerySchema
.omit({
+ workspaceId: true,
domain: true,
key: true,
linkId: true,
externalId: true,
+ tenantId: true,
})
.parse(searchParams);