Commit 7942d5b6 authored by Stephane Bouvry's avatar Stephane Bouvry
Browse files

Fix : ConnectorOrganizationJSON, Types d'organisation manquante pour le...

Fix : ConnectorOrganizationJSON, Types d'organisation manquante pour le chargement des données de démo des organisations
parent d159fb42
Loading
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -34,7 +34,8 @@ class ConnectorOrganizationJSON implements ConnectorInterface
    {
        $this->jsonDatas = $jsonData;
        $this->entityManager = $entityManager;
        $this->organizationJsonFactory = new JsonToOrganization();
        $types = $entityManager->getRepository(Organization::class)->getTypesKeyLabel();
        $this->organizationJsonFactory = new JsonToOrganization($types);
        $this->connectorName = $connectorName;
    }