From efc2caa2c1608f7894d9788b870f31fcd9c48840 Mon Sep 17 00:00:00 2001 From: Sarai Misidjan Date: Thu, 16 Nov 2023 11:19:24 +0100 Subject: [PATCH] fix typo --- src/Service/GithubApiService.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Service/GithubApiService.php b/src/Service/GithubApiService.php index b462b68d..02609daf 100644 --- a/src/Service/GithubApiService.php +++ b/src/Service/GithubApiService.php @@ -251,13 +251,13 @@ public function enrichWithOrganization(ObjectEntity $repository, array $reposito { $organizationSchema = $this->resourceService->getSchema('https://opencatalogi.nl/oc.organisation.schema.json', 'open-catalogi/open-catalogi-bundle'); - $organizationSync = $this->syncService->findSyncBySource($source, $organizationSchema, $repositoryArray['reposity']['owner']['html_url']); + $organizationSync = $this->syncService->findSyncBySource($source, $organizationSchema, $repositoryArray['repository']['owner']['html_url']); if ($organizationSync->getObject() === null) { $organizationMapping = $this->resourceService->getMapping('https://api.github.com/oc.githubOrganisation.mapping.json', 'open-catalogi/open-catalogi-bundle'); $organizationSync->setMapping($organizationMapping); - $organizationSync = $this->syncService->synchronize($organizationSync, $repositoryArray['reposity']['owner']); + $organizationSync = $this->syncService->synchronize($organizationSync, $repositoryArray['repository']['owner']); $this->entityManager->persist($organizationSync); }