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.

fix(ui): resolve Zod schema parsing issue on domain transfer

unrenamed2cfcb47a29e5
diff --git a/apps/web/app/api/domains/[domain]/transfer/route.ts b/apps/web/app/api/domains/[domain]/transfer/route.ts
index f9e0d023a4..39219548c9 100644
--- a/apps/web/app/api/domains/[domain]/transfer/route.ts
+++ b/apps/web/app/api/domains/[domain]/transfer/route.ts
@@ -108,6 +108,9 @@ export const POST = withWorkspace(
projectId: newWorkspaceId,
primary: newWorkspace.domains.length === 0,
},
+ include: {
+ registeredDomain: true,
+ },
}),
prisma.project.update({
where: { id: workspace.id },