tat alert to wrong approver is fixed
This commit is contained in:
parent
e4d45b4fca
commit
07577b4156
@ -631,7 +631,7 @@ class NotificationService {
|
|||||||
const currentLevel = await ApprovalLevel.findOne({
|
const currentLevel = await ApprovalLevel.findOne({
|
||||||
where: {
|
where: {
|
||||||
requestId: payload.requestId,
|
requestId: payload.requestId,
|
||||||
status: 'PENDING'
|
status: 'IN_PROGRESS'
|
||||||
},
|
},
|
||||||
order: [['levelNumber', 'ASC']]
|
order: [['levelNumber', 'ASC']]
|
||||||
});
|
});
|
||||||
@ -718,7 +718,7 @@ class NotificationService {
|
|||||||
const currentLevel = await ApprovalLevel.findOne({
|
const currentLevel = await ApprovalLevel.findOne({
|
||||||
where: {
|
where: {
|
||||||
requestId: payload.requestId,
|
requestId: payload.requestId,
|
||||||
status: 'PENDING'
|
status: 'IN_PROGRESS'
|
||||||
},
|
},
|
||||||
order: [['levelNumber', 'ASC']]
|
order: [['levelNumber', 'ASC']]
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user