From 07577b415602be946a065ba66a1af111b525f976 Mon Sep 17 00:00:00 2001 From: laxmanhalaki Date: Thu, 12 Mar 2026 12:37:49 +0530 Subject: [PATCH] tat alert to wrong approver is fixed --- src/services/notification.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/services/notification.service.ts b/src/services/notification.service.ts index 359a778..3e25545 100644 --- a/src/services/notification.service.ts +++ b/src/services/notification.service.ts @@ -631,7 +631,7 @@ class NotificationService { const currentLevel = await ApprovalLevel.findOne({ where: { requestId: payload.requestId, - status: 'PENDING' + status: 'IN_PROGRESS' }, order: [['levelNumber', 'ASC']] }); @@ -718,7 +718,7 @@ class NotificationService { const currentLevel = await ApprovalLevel.findOne({ where: { requestId: payload.requestId, - status: 'PENDING' + status: 'IN_PROGRESS' }, order: [['levelNumber', 'ASC']] });