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.

Updated the link settings display

Marcus Farrell202a0e7bf8e4
diff --git a/apps/web/lib/partners/get-link-structure-options.ts b/apps/web/lib/partners/get-link-structure-options.ts
index 0d13e02d0f..d41dbc83b7 100644
--- a/apps/web/lib/partners/get-link-structure-options.ts
+++ b/apps/web/lib/partners/get-link-structure-options.ts
@@ -23,19 +23,19 @@ export const getLinkStructureOptions = ({
{
id: LinkStructure.short,
label: "Short link",
- example: `${shortDomain}/${username}`,
+ example: `${shortDomain}/{partnerName}`,
comingSoon: false,
},
{
id: LinkStructure.query,
label: "Query parameter",
- example: `${websiteDomain}?via=${username}`,
+ example: `${websiteDomain}?via={partnerName}`,
comingSoon: false,
},
{
id: LinkStructure.path,
label: "Dynamic path",
- example: `${websiteDomain}/refer/${username}`,
+ example: `${websiteDomain}/refer/{partnerName}`,
comingSoon: true,
},
];