Commit b2ffc8675fd553b5811fd44b17ad723a4c9b5de7

Authored by Alex Savenko
1 parent be12b46e

ga output

Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
app/library/App/Controllers/GaController.php
... ... @@ -78,6 +78,8 @@ class GaController extends CrudResourceController {
78 78  
79 79 $response = $analytics->reports->batchGet($body);
80 80  
  81 + $response = $response->getReports();
  82 +
81 83 $obj = $response->toSimpleObject();
82 84 $obj = $obj->reports[0]['data']['rows'];
83 85  
... ...