Skip to content

Commit ad3a091

Browse files
bbrands02claude
andcommitted
refactor: replace findByUuid with find in EndpointService
ObjectServiceMapperAdapter::find() accepts both IDs and UUIDs, making findByUuid a redundant alias. Use find() directly. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 1cc9979 commit ad3a091

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎lib/Service/EndpointService.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@ private function getObjects(
667667
$id = pos($pathParams);
668668
}
669669

670-
$main = $mapper->findByUuid($pathParams['id'])->getObject();
670+
$main = $mapper->find($pathParams['id'])->getObject();
671671

672672
if(isset($main[$property]) === false) {
673673
return $this->replaceInternalReferences(mapper: $mapper, object: $mapper->find($pathParams['id']));

0 commit comments

Comments
 (0)