refs #4614 fear(ticket): add 'set weight' funcionality #1487

Merged
alexm merged 7 commits from 4614-ticket_weight into dev 2023-07-10 07:22:12 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 5e6d941f36 - Show all commits

View File

@ -95,7 +95,7 @@ module.exports = Self => {
// When claimState has been changed
if (args.claimStateFk) {
const newState = await models.ClaimState.findById(args.claimStateFk, null, options);
const newState = await models.ClaimState.findById(args.claimStateFk, null, myOptions);
if (newState.hasToNotify) {
if (newState.code == 'incomplete')
notifyStateChange(ctx, salesPerson.id, claim, newState.code);