mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-02 12:15:55 +00:00
Lots of new code for the Spectre routine.
This commit is contained in:
@@ -354,12 +354,13 @@ class ImportJobRepository implements ImportJobRepositoryInterface
|
||||
*/
|
||||
public function setConfiguration(ImportJob $job, array $configuration): ImportJob
|
||||
{
|
||||
Log::debug(sprintf('Incoming config for job "%s" is: ', $job->key), $configuration);
|
||||
Log::debug('Updating configuration...');
|
||||
//Log::debug(sprintf('Incoming config for job "%s" is: ', $job->key), $configuration);
|
||||
$currentConfig = $job->configuration;
|
||||
$newConfig = array_merge($currentConfig, $configuration);
|
||||
$job->configuration = $newConfig;
|
||||
$job->save();
|
||||
Log::debug(sprintf('Set config of job "%s" to: ', $job->key), $newConfig);
|
||||
//Log::debug(sprintf('Set config of job "%s" to: ', $job->key), $newConfig);
|
||||
|
||||
return $job;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user