asdsd
All checks were successful
Deploy / deploy-staging (push) Successful in 6s
Deploy / deploy-production (push) Has been skipped

This commit is contained in:
2026-05-01 03:41:14 +02:00
parent c444ece852
commit aff9dd30e1

View File

@@ -290,7 +290,7 @@ final class Router
private function bootstrap(string $projectKey): array
{
$settings = $this->settings($projectKey);
$measurements = $this->measurements($projectKey);
$measurements = $this->measurements($projectKey, $settings);
$targets = $this->targets($projectKey);
$dashboards = $this->dashboards($projectKey);
$fxSnapshots = $this->measurementFxSnapshots($measurements);
@@ -798,9 +798,9 @@ final class Router
return $this->settings($projectKey);
}
private function measurements(string $projectKey): array
private function measurements(string $projectKey, ?array $settingsOverride = null): array
{
$settings = $this->settings($projectKey);
$settings = $settingsOverride ?? $this->settings($projectKey);
$rows = $this->repository()->listMeasurements($projectKey, 500);
$rows = $this->ensureMeasurementFxReferences($projectKey, $rows);
return $this->analytics()->enrichMeasurements($rows, $settings);