Skip to content

Commit

Permalink
Fix small typo in variable
Browse files Browse the repository at this point in the history
  • Loading branch information
rjzondervan committed Jan 13, 2025
1 parent 049daad commit da2e09b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Service/EndpointService.php
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,8 @@ private function replaceInternalReferences(
$useUrls[] = $this->generateEndpointUrl(id: $useId, parentIds: [$object->getUuid()]);
}

$uses[] = $object->getUri();
$useUrls = $this->generateEndpointUrl(id: $object->getUuid());
$uses[] = $object->getUri();
$useUrls[] = $this->generateEndpointUrl(id: $object->getUuid());

$serializedObject = str_replace($uses, $useUrls, $serializedObject);

Expand Down

0 comments on commit da2e09b

Please sign in to comment.