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

Steven Teybf7288dd2368
diff --git a/apps/web/app/api/track/visit/route.ts b/apps/web/app/api/track/visit/route.ts
index bba1a526a6..2740c73c61 100644
--- a/apps/web/app/api/track/visit/route.ts
+++ b/apps/web/app/api/track/visit/route.ts
@@ -94,7 +94,10 @@ export const POST = withAxiom(
link = {
...newLink,
- ...rootDomainLink,
+ projectId: rootDomainLink.projectId,
+ folderId: rootDomainLink.folderId,
+ userId: rootDomainLink.userId,
+ allowedHostnames: rootDomainLink.allowedHostnames,
};
}