Skip to content

Commit

Permalink
Merge pull request #143 from OpenCatalogi/feature/OP-109/duplicate-co…
Browse files Browse the repository at this point in the history
…mponents

Update GithubEventService
  • Loading branch information
smisidjan authored Nov 9, 2023
2 parents 7963442 + 72e0b88 commit ba01e71
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 ba01e71

Please sign in to comment.