Skip to content

Commit

Permalink
comment monarc-project/MonarcAppFO#225 let Monarc handle the id manag…
Browse files Browse the repository at this point in the history
…ement
  • Loading branch information
jerolomb committed Dec 23, 2019
1 parent 27fda49 commit 392624e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Service/InstanceRiskService.php
Expand Up @@ -441,6 +441,7 @@ public function update($id, $data, $manageGlobal = true)
throw new Exception('Data missing', 412);
}

unset($data['instance']);
$instanceRisk->exchangeArray($data);

$dependencies = property_exists($this, 'dependencies') ? $this->dependencies : [];
Expand Down

0 comments on commit 392624e

Please sign in to comment.