feature/cierres #31

Merged
aldarien merged 462 commits from feature/cierres into develop 2025-09-11 17:05:18 -03:00
282 changed files with 856 additions and 11978 deletions
Showing only changes of commit a3a5b58cfb - Show all commits

View File

@ -24,7 +24,10 @@ class Job extends Ideal\Service
public function add(array $configuration): Model\Job
{
try {
$job = $this->jobRepository->create(compact('configuration'));
$data = [
'configuration' => json_encode($configuration)
];
$job = $this->jobRepository->create($data);
return $this->process($this->jobRepository->save($job));
} catch (PDOException $exception) {
throw new Create(__CLASS__, $exception);