Commit 75f03dff58e9b0c0dfe1198d31f6368c2b6a9940
1 parent
27c1ea24
ga output
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
app/library/App/Controllers/GaController.php
... | ... | @@ -81,9 +81,9 @@ class GaController extends CrudResourceController { |
81 | 81 | /** @var \Google_Service_AnalyticsReporting_Report $report */ |
82 | 82 | $report = $response->getReports(); |
83 | 83 | |
84 | - $data = $response->modelData; | |
84 | + $data = $report->getData(); | |
85 | 85 | |
86 | - return var_dump($response); | |
86 | + return var_dump($data); | |
87 | 87 | |
88 | 88 | $obj = $response->toSimpleObject(); |
89 | 89 | $obj = $obj->reports[0]['data']['rows']; | ... | ... |