asdsd
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user