The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
update
Kiran K434f276fa627
diff --git a/apps/web/lib/api/workspaces.ts b/apps/web/lib/api/workspaces.tsindex 738c57860f..2f7b4c825b 100644--- a/apps/web/lib/api/workspaces.ts+++ b/apps/web/lib/api/workspaces.ts@@ -143,12 +143,12 @@ export async function deleteWorkspaceAdmin(}),]);- const redisLinks = defaultDomainLinks.map((link) => ({- ...link,- projectId: LEGAL_WORKSPACE_ID,- }));-- const updateLinkRedisResponse = await linkCache.mset(redisLinks);+ const updateLinkRedisResponse = await linkCache.mset(+ defaultDomainLinks.map((link) => ({+ ...link,+ projectId: LEGAL_WORKSPACE_ID,+ })),+ );// update all default domain links to the legal workspaceconst updateLinkPrismaResponse = await prisma.link.updateMany({