Skip to content

Commit

Permalink
Always pass resolved siteaccess to avoid missing root Location ID in …
Browse files Browse the repository at this point in the history
…CLI context

(cherry picked from commit 655bbc9)
  • Loading branch information
pspanja committed Mar 18, 2024
1 parent 982fced commit fb56849
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions bundle/Routing/GeneratorRouter.php
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,6 @@ private function resolveSiteaccessAndGenerate(APILocation $location, array $para
$siteaccess = $this->currentSiteaccess->name;
}

if ($siteaccess === $this->currentSiteaccess->name) {
return $this->generator->generate($location, $parameters, $referenceType);
}

$parameters['siteaccess'] = $siteaccess;

$url = $this->generator->generate(
Expand Down

0 comments on commit fb56849

Please sign in to comment.