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.

return the user image

Kiran K8316e4bf74fc
diff --git a/apps/web/app/(ee)/api/partner-profile/users/route.ts b/apps/web/app/(ee)/api/partner-profile/users/route.ts
index 9094714767..6105eb9a6c 100644
--- a/apps/web/app/(ee)/api/partner-profile/users/route.ts
+++ b/apps/web/app/(ee)/api/partner-profile/users/route.ts
@@ -39,14 +39,15 @@ export const GET = withPartnerProfile(async ({ partner }) => {
...partnerUsers.map(({ user, role }) => ({
id: user.id,
name: user.name,
- email: user.email,
image: user.image,
+ email: user.email,
role,
})),
...partnerInvites.map(({ email, role }) => ({
id: null,
name: null,
+ image: null,
email,
role,
})),