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

Steven Tey27109e16a32f
diff --git a/apps/web/app/api/customers/route.ts b/apps/web/app/api/customers/route.ts
index 3e2d61d770..863331dbf2 100644
--- a/apps/web/app/api/customers/route.ts
+++ b/apps/web/app/api/customers/route.ts
@@ -26,6 +26,18 @@ export const GET = withWorkspace(
orderBy: {
createdAt: "desc",
},
+ include: {
+ link: {
+ include: {
+ programEnrollment: {
+ include: {
+ partner: true,
+ discount: true,
+ },
+ },
+ },
+ },
+ },
});
return NextResponse.json(