diff --git a/app/library/App/Controllers/GaController.php b/app/library/App/Controllers/GaController.php index 0744e1d..6675e59 100644 --- a/app/library/App/Controllers/GaController.php +++ b/app/library/App/Controllers/GaController.php @@ -78,6 +78,9 @@ class GaController extends CrudResourceController { $response = $analytics->reports->batchGet($body); + $response = $response->toSimpleObject(); + $response = $response->reports[0]['data']['rows']; + $result = []; foreach ($response as $item) { -- libgit2 0.21.4