Verified Commit a51e2410 authored by Alexandre Morin's avatar Alexandre Morin
Browse files

fix () : update organization of service account

parent 29419263
Pipeline #6914 canceled with stages
......@@ -335,7 +335,7 @@ class serviceAccount
$servicePosition = $this->servicePositionController->getPosition($serviceAccount->accountId);
if (isset($servicePosition->organization)) {
$this->organizationController->deleteServicePosition($orgId, $serviceAccount->accountId);
$this->organizationController->deleteServicePosition($servicePosition->orgId, $serviceAccount->accountId);
}
$this->organizationController->addServicePosition($orgId, $serviceAccount->accountId);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment