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.

include discount in ProgramRewardList (via API)

Steven Tey880cebd14efc
diff --git a/apps/web/app/(ee)/api/partner-profile/programs/[programId]/route.ts b/apps/web/app/(ee)/api/partner-profile/programs/[programId]/route.ts
index bfbc33081e..c39d5fd24f 100644
--- a/apps/web/app/(ee)/api/partner-profile/programs/[programId]/route.ts
+++ b/apps/web/app/(ee)/api/partner-profile/programs/[programId]/route.ts
@@ -16,6 +16,7 @@ export const GET = withPartnerProfile(async ({ partner, params }) => {
clickReward: true,
leadReward: true,
saleReward: true,
+ discount: true,
partnerGroup: true,
},
});