The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
fix typo
Steven Tey2aa36d4be6ed
diff --git a/apps/web/app/api/links/sync/route.ts b/apps/web/app/api/links/sync/route.tsindex e222e9ec3b..617417af1d 100644--- a/apps/web/app/api/links/sync/route.ts+++ b/apps/web/app/api/links/sync/route.ts@@ -24,11 +24,10 @@ export const POST = withAuth(domain: link.domain,key: link.key,},+ userId: null,},});}),- ).then((links) =>- links.filter((link) => link && !link.userId),)) as LinkProps[];if (unclaimedLinks.length === 0) {diff --git a/apps/web/ui/modals/provider.tsx b/apps/web/ui/modals/provider.tsxindex bb9eb1ad88..77aa8b3136 100644--- a/apps/web/ui/modals/provider.tsx+++ b/apps/web/ui/modals/provider.tsx@@ -66,7 +66,7 @@ export default function ModalProvider({ children }: { children: ReactNode }) {useEffect(() => {if (hashes.length > 0 && slug) {toast.promise(- fetch(`/api/links/sync?projectSlug?=${slug}`, {+ fetch(`/api/links/sync?projectSlug=${slug}`, {method: "POST",headers: {"Content-Type": "application/json",