Skip to content

Commit

Permalink
Fix breaking issue
Browse files Browse the repository at this point in the history
  • Loading branch information
rjzondervan committed Jan 21, 2025
1 parent 35e9e7b commit 6b14d21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Service/DirectoryService.php
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ public function updateListing(array $newListing, array $oldListing): array{
}

// Do not update version, because we copy the version from the source
$newListing = $this->objectService->saveObject('listing', $oldListing, false);
$newListing = $this->objectService->saveObject('listing', $oldListing, updateVersion: false);

return $newListing instanceof Listing === true ? $newListing->jsonSerialize() : $newListing;
}
Expand Down

0 comments on commit 6b14d21

Please sign in to comment.