Skip to content

Commit

Permalink
add organisation to repository
Browse files Browse the repository at this point in the history
  • Loading branch information
smisidjan committed Nov 9, 2023
1 parent 7963442 commit 72e0b88
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,9 @@ public function getOrganisationRepo(string $url, ObjectEntity $organization, str
$component && $component->setValue('usedBy', [$organization]);
}

$repositoryObject->setValue('organisation', $organization);
$this->entityManager->persist($repositoryObject);
$this->entityManager->flush();

return $repositoryObject;

Expand Down

0 comments on commit 72e0b88

Please sign in to comment.