Skip to content

Commit

Permalink
Merge pull request #173 from OpenCatalogi/feature/OP-140/download-object
Browse files Browse the repository at this point in the history
Persist changes on download objects
  • Loading branch information
rjzondervan authored Nov 23, 2023
2 parents 6925cdd + 4504461 commit 2cc5cac
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Service/DownloadObjectService.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,9 @@ public function enrichDownloadObject(array $data, array $configuration): array
];
$object->hydrate($objectArray);

$this->entityManager->persist($object);
$this->entityManager->flush();

return $data;

}//end enrichDownloadObject()
Expand Down

0 comments on commit 2cc5cac

Please sign in to comment.