Add companyName field and filter for profileImage in getAllHostApplications

This commit is contained in:
paritosh18
2025-11-21 15:54:33 +05:30
parent 76e2bd542a
commit 2ffb9ca242

View File

@@ -492,6 +492,7 @@ export class MinglarService {
id: true,
hostStatusDisplay: true,
createdAt: true,
companyName:true,
user: {
select: {
id: true,
@@ -534,6 +535,9 @@ export class MinglarService {
in: [ROLE.CO_ADMIN, ROLE.ACCOUNT_MANAGER]
},
isActive: true,
profileImage: {
not: null
},
// 🔥 Filter users who have at least ONE accepted invitation
inviteDetails: {