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 the test

Kiran K59973c66cfe6
diff --git a/apps/web/app/api/domains/[domain]/primary/route.ts b/apps/web/app/api/domains/[domain]/primary/route.ts
index f9902c27f6..1b4fd28e38 100644
--- a/apps/web/app/api/domains/[domain]/primary/route.ts
+++ b/apps/web/app/api/domains/[domain]/primary/route.ts
@@ -21,6 +21,9 @@ export const POST = withWorkspace(
data: {
primary: true,
},
+ include: {
+ registeredDomain: true,
+ },
}),
// Set all other domains as not primary