diff --git a/app/library/App/Controllers/GaController.php b/app/library/App/Controllers/GaController.php index 318ea29..7a1c02c 100644 --- a/app/library/App/Controllers/GaController.php +++ b/app/library/App/Controllers/GaController.php @@ -81,9 +81,9 @@ class GaController extends CrudResourceController { /** @var \Google_Service_AnalyticsReporting_Report $report */ $report = $response->getReports(); - $data = $report[0]; + $data = $report[0]->getData(); - return var_dump($report); + return var_dump($data); $obj = $response->toSimpleObject(); $obj = $obj->reports[0]['data']['rows']; -- libgit2 0.21.4