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']] });