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.

limit partner selection for now

Steven Tey9e5220725004
diff --git a/apps/web/app/api/customers/route.ts b/apps/web/app/api/customers/route.ts
index f59fc1af89..bcaf897993 100644
--- a/apps/web/app/api/customers/route.ts
+++ b/apps/web/app/api/customers/route.ts
@@ -63,7 +63,14 @@ export const GET = withWorkspace(
defaultDiscount: true,
},
},
- partner: true,
+ partner: {
+ select: {
+ id: true,
+ name: true,
+ email: true,
+ image: true,
+ },
+ },
discount: true,
},
},