Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
devkiran committed Oct 8, 2024
1 parent ed9a35e commit 434f276
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions apps/web/lib/api/workspaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit 434f276

Please sign in to comment.