Commit 4271fcdabc60fa903ac2636ad758a5aa7ce05bb4

Authored by Alex Savenko
1 parent c6d3dfe5

registration

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