From 5805005ff438f11caad44d7ca86aac53d055ea36 Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 17 Feb 2017 21:06:58 +0200 Subject: [PATCH] ga output --- app/library/App/Controllers/GaController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/library/App/Controllers/GaController.php b/app/library/App/Controllers/GaController.php index 9fa58d9..e40d5b0 100644 --- a/app/library/App/Controllers/GaController.php +++ b/app/library/App/Controllers/GaController.php @@ -78,7 +78,7 @@ class GaController extends CrudResourceController { $response = $analytics->reports->batchGet($body); - $response = $response; + $response = $response->getReports(); $obj = $response->toSimpleObject(); $obj = $obj->reports[0]['data']['rows']; -- libgit2 0.21.4