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 route.ts

Kiran Kadc3d5f51c01
diff --git a/apps/web/app/(ee)/api/partners/links/route.ts b/apps/web/app/(ee)/api/partners/links/route.ts
index 727ac48e00..c873c1131f 100644
--- a/apps/web/app/(ee)/api/partners/links/route.ts
+++ b/apps/web/app/(ee)/api/partners/links/route.ts
@@ -128,6 +128,7 @@ export const POST = withWorkspace(
utm_campaign: linkProps?.utm_campaign || utmTemplate?.utm_campaign,
utm_term: linkProps?.utm_term || utmTemplate?.utm_term,
utm_content: linkProps?.utm_content || utmTemplate?.utm_content,
+ ref: linkProps?.ref || utmTemplate?.ref,
},
workspace,
userId: session.user.id,