Commit 014ba083c628771c7625def6e167f7d3e0eaf830
1 parent
673500c8
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 | 78 | |
79 | 79 | $response = $analytics->reports->batchGet($body); |
80 | 80 | |
81 | - $response = $response->current(); | |
81 | + $response = $response->getModelData; | |
82 | 82 | |
83 | 83 | $obj = $response->toSimpleObject(); |
84 | 84 | $obj = $obj->reports[0]['data']['rows']; | ... | ... |