Skip to content

Commit

Permalink
Merge pull request #112 from ConductionNL/fix/check-config
Browse files Browse the repository at this point in the history
check if extra data config is set
  • Loading branch information
bbrands02 authored Dec 3, 2024
2 parents 0c61bc0 + f6744e8 commit 781001e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Service/SynchronizationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ private function fetchExtraDataForObject(Synchronization $synchronization, array
$extraData = $this->getObjectFromSource($synchronization, $endpoint);

// Temporary fix,
if ($extraDataConfig['extraDataConfigPerResult']) {
if (isset($extraDataConfig['extraDataConfigPerResult']) === true) {
$dotObject = new Dot($extraData);
$results = $dotObject->get($extraDataConfig['resultsLocation']);

Expand Down

0 comments on commit 781001e

Please sign in to comment.