The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
skip checks
Steven Teya578dfb3a882
diff --git a/apps/web/app/api/partner-profile/programs/[programId]/links/[linkId]/route.ts b/apps/web/app/api/partner-profile/programs/[programId]/links/[linkId]/route.tsindex 013cb9a3e9..0d980cdcab 100644--- a/apps/web/app/api/partner-profile/programs/[programId]/links/[linkId]/route.ts+++ b/apps/web/app/api/partner-profile/programs/[programId]/links/[linkId]/route.ts@@ -89,7 +89,9 @@ export const PATCH = withPartnerProfile(workspace: workspace as any,userId: session.user.id,skipKeyChecks,- skipProgramChecks: true, // skip this cause we've already validated the program above+ skipFolderChecks: true, // can't be changed by the partner+ skipProgramChecks: true, // can't be changed by the partner+ skipExternalIdChecks: true, // can't be changed by the partner});if (error != null) {diff --git a/apps/web/app/api/partner-profile/programs/[programId]/links/route.ts b/apps/web/app/api/partner-profile/programs/[programId]/links/route.tsindex ae5873df40..ba131c6947 100644--- a/apps/web/app/api/partner-profile/programs/[programId]/links/route.ts+++ b/apps/web/app/api/partner-profile/programs/[programId]/links/route.ts@@ -86,7 +86,9 @@ export const POST = withPartnerProfile(},workspace: workspace as any,userId: session.user.id,- skipProgramChecks: true, // skip this cause we've already validated the program above+ skipFolderChecks: true, // can't be changed by the partner+ skipProgramChecks: true, // can't be changed by the partner+ skipExternalIdChecks: true, // can't be changed by the partner});if (error != null) {diff --git a/apps/web/app/partners.dub.co/(dashboard)/programs/[programSlug]/links/partner-link-card.tsx b/apps/web/app/partners.dub.co/(dashboard)/programs/[programSlug]/links/partner-link-card.tsxindex 734cbe4289..bd411a098a 100644--- a/apps/web/app/partners.dub.co/(dashboard)/programs/[programSlug]/links/partner-link-card.tsx+++ b/apps/web/app/partners.dub.co/(dashboard)/programs/[programSlug]/links/partner-link-card.tsx@@ -2,6 +2,7 @@ import { formatDateTooltip } from "@/lib/analytics/format-date-tooltip";import usePartnerAnalytics from "@/lib/swr/use-partner-analytics";import useProgramEnrollment from "@/lib/swr/use-program-enrollment";import { PartnerLinkProps } from "@/lib/types";+import { CommentsBadge } from "@/ui/links/comments-badge";import {ArrowTurnRight2,BlurImage,@@ -176,6 +177,7 @@ export function PartnerLinkCard({variant="neutral"className="p-1.5"/>+ {link.comments && <CommentsBadge comments={link.comments} />}</div><div className="flex items-center gap-1"><ArrowTurnRight2 className="h-3 w-3 shrink-0 text-neutral-400" />