Update serverless configuration to comment out Prisma client dependencies and enhance MinglarService to exclude draft activities from host activity retrieval.

This commit is contained in:
2025-12-05 18:50:14 +05:30
parent ecf45c3e7c
commit 4c1a04d043
2 changed files with 7 additions and 6 deletions

View File

@@ -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 } : {}),
};