Merge branch 'paritosh' of http://git.wdipl.com/Mayank.Mishra/MinglarBackendNestJS into mayank
This commit is contained in:
@@ -523,6 +523,10 @@ export class MinglarService {
|
||||
whereClause.adminStatusDisplay = MINGLAR_STATUS_DISPLAY.NEW;
|
||||
}
|
||||
|
||||
if (userRoleXid === ROLE.CO_ADMIN || userRoleXid === ROLE.ACCOUNT_MANAGER) {
|
||||
whereClause.accountManagerXid = userId;
|
||||
}
|
||||
|
||||
const hostHeaders = await this.prisma.hostHeader.findMany({
|
||||
where: whereClause,
|
||||
select: {
|
||||
|
||||
Reference in New Issue
Block a user