Commit 673500c865d4f980de92fe8046e629ccf921759a
1 parent
b2ffc867
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->getReports(); | |
| 81 | + $response = $response->current(); | |
| 82 | 82 | |
| 83 | 83 | $obj = $response->toSimpleObject(); |
| 84 | 84 | $obj = $obj->reports[0]['data']['rows']; | ... | ... |