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.

update

Kiran K434f276fa627
diff --git a/apps/web/lib/api/workspaces.ts b/apps/web/lib/api/workspaces.ts
index 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 workspace
const updateLinkPrismaResponse = await prisma.link.updateMany({