rez_core 4.0.128 → 4.0.129

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rez_core",
3
- "version": "4.0.128",
3
+ "version": "4.0.129",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "private": false,
@@ -617,6 +617,18 @@ export class WorkflowMetaService extends EntityServiceImpl {
617
617
 
618
618
  const firstAction = actions[0];
619
619
 
620
+ // update lead owner status
621
+ await this.updateLeadOwner(
622
+ {
623
+ lead_id: mapped_entity_id,
624
+ lead_owner: nextUser,
625
+ stage_id: stage_id,
626
+ entity_type: mapped_entity_type,
627
+ action_id: firstAction.id,
628
+ },
629
+ loggedInUser,
630
+ );
631
+
620
632
  // move task
621
633
  await this.taskService.moveTask(loggedInUser, {
622
634
  mapped_entity_type,
@@ -637,18 +649,6 @@ export class WorkflowMetaService extends EntityServiceImpl {
637
649
  );
638
650
  }
639
651
 
640
- // update lead owner status
641
- await this.updateLeadOwner(
642
- {
643
- lead_id: mapped_entity_id,
644
- lead_owner: nextUser,
645
- stage_id: stage_id,
646
- entity_type: mapped_entity_type,
647
- action_id: firstAction.id,
648
- },
649
- loggedInUser,
650
- );
651
-
652
652
  return nextUser;
653
653
  }
654
654
  }