Skip to content

Commit

Permalink
Added the missing positions update when imported amvs from file.
Browse files Browse the repository at this point in the history
  • Loading branch information
ruslanbaidan committed May 31, 2024
1 parent c0c7ad0 commit b1cf8d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Service/AmvService.php
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,8 @@ public function createAmvItems(array $data): array
->setVulnerability($vulnerability)
->setCreator($this->connectedUser->getEmail());

$this->updatePositions($amv, $this->amvTable);

$this->createInstanceRiskForInstances($asset, $amv);

$this->amvTable->save($amv);
Expand Down

0 comments on commit b1cf8d1

Please sign in to comment.