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.

some fixes

Kiran K0875cd030032
diff --git a/apps/web/lib/api/partners/get-partner-for-program.ts b/apps/web/lib/api/partners/get-partner-for-program.ts
index 89f5a4fd0d..36fb541ab6 100644
--- a/apps/web/lib/api/partners/get-partner-for-program.ts
+++ b/apps/web/lib/api/partners/get-partner-for-program.ts
@@ -35,7 +35,6 @@ export async function getPartnerForProgram({
'domain', l.domain,
'key', l.\`key\`,
'shortLink', l.shortLink,
- 'couponCode', l.couponCode,
'url', l.url,
'clicks', CAST(l.clicks AS SIGNED),
'leads', CAST(l.leads AS SIGNED),
diff --git a/apps/web/lib/api/partners/get-partners.ts b/apps/web/lib/api/partners/get-partners.ts
index 1ab93daea9..034aaaf24b 100644
--- a/apps/web/lib/api/partners/get-partners.ts
+++ b/apps/web/lib/api/partners/get-partners.ts
@@ -93,7 +93,6 @@ export async function getPartners(filters: PartnerFilters) {
'domain', l.domain,
'key', l.\`key\`,
'shortLink', l.shortLink,
- 'couponCode', l.couponCode,
'url', l.url,
'clicks', CAST(l.clicks AS SIGNED),
'leads', CAST(l.leads AS SIGNED),
diff --git a/apps/web/ui/partners/discounts/add-edit-discount-sheet.tsx b/apps/web/ui/partners/discounts/add-edit-discount-sheet.tsx
index 8e97e5174e..1814b7ac2b 100644
--- a/apps/web/ui/partners/discounts/add-edit-discount-sheet.tsx
+++ b/apps/web/ui/partners/discounts/add-edit-discount-sheet.tsx
@@ -377,7 +377,7 @@ function DiscountSheetContent({
<InfoTooltip
content={
<SimpleTooltipContent
- title="Enabling this will allow the partners to create a promo code for their links."
+ title="Enabling this will allow you to create discount codes for your partners."
href="https://dub.co/help/article/coupon-codes-tracking"
cta="Learn more"
/>