Commit 5805005ff438f11caad44d7ca86aac53d055ea36
1 parent
4c96a075
ga output
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/library/App/Controllers/GaController.php
@@ -78,7 +78,7 @@ class GaController extends CrudResourceController { | @@ -78,7 +78,7 @@ class GaController extends CrudResourceController { | ||
78 | 78 | ||
79 | $response = $analytics->reports->batchGet($body); | 79 | $response = $analytics->reports->batchGet($body); |
80 | 80 | ||
81 | - $response = $response; | 81 | + $response = $response->getReports(); |
82 | 82 | ||
83 | $obj = $response->toSimpleObject(); | 83 | $obj = $response->toSimpleObject(); |
84 | $obj = $obj->reports[0]['data']['rows']; | 84 | $obj = $obj->reports[0]['data']['rows']; |