Commit 05915c968854d6d8a92eb3a8924e5b83d0b672bb
1 parent
9cbda58b
ga output
Showing
1 changed file
with
3 additions
and
1 deletions
Show diff stats
app/library/App/Controllers/GaController.php
... | ... | @@ -81,7 +81,7 @@ class GaController extends CrudResourceController { |
81 | 81 | $obj = $response->toSimpleObject(); |
82 | 82 | $obj = $obj->reports[0]['data']['rows']; |
83 | 83 | |
84 | - return ($obj); | |
84 | + //return ($obj); | |
85 | 85 | |
86 | 86 | $result = []; |
87 | 87 | |
... | ... | @@ -89,6 +89,8 @@ class GaController extends CrudResourceController { |
89 | 89 | $result[$key['dimensions']] = $value->values; |
90 | 90 | } |
91 | 91 | |
92 | + return $result; | |
93 | + | |
92 | 94 | } |
93 | 95 | |
94 | 96 | public function printResults($reports) { | ... | ... |