Skip to content

Commit cca90ed

Browse files
committed
ReportingController: send objects property
1 parent e741a31 commit cca90ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

application/controllers/ReportingController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ protected function reportingTabs(): Tabs
7878
protected function sendHistorySummary()
7979
{
8080
$report = $this->requireReport();
81-
$this->sendJsonResponse($report->fetchIndexed($report->select()));
81+
$this->sendJsonResponse(['objects' => $report->fetchIndexed($report->select())]);
8282
}
8383

8484
protected function requireReport(): HistorySummaries

0 commit comments

Comments
 (0)