Enhance getAllHostActivityForMinglar method to exclude activities with DRAFT_PQ status
This commit is contained in:
@@ -260,6 +260,7 @@ export class MinglarService {
|
||||
async getAllHostActivityForMinglar(search?: string, hostXid?: number, paginationOptions?: { page: number; limit: number; skip: number }) {
|
||||
const whereClause: any = {
|
||||
isActive: true,
|
||||
activityInternalStatus: { notIn: [ACTIVITY_INTERNAL_STATUS.DRAFT_PQ] },
|
||||
...(hostXid ? { hostXid } : {}),
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user