Commit e24d95106a6289ffcf1a67921ec7a152e6227e26
1 parent
7e1d4fa3
ga output
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/library/App/Controllers/GaController.php
| @@ -141,7 +141,7 @@ class GaController extends CrudResourceController { | @@ -141,7 +141,7 @@ class GaController extends CrudResourceController { | ||
| 141 | public static function responseChartTransform(array $response, $project_name) { | 141 | public static function responseChartTransform(array $response, $project_name) { |
| 142 | 142 | ||
| 143 | $result = []; | 143 | $result = []; |
| 144 | - | 144 | + return $response; |
| 145 | foreach ($response as $item) { | 145 | foreach ($response as $item) { |
| 146 | 146 | ||
| 147 | $metric_val = $item['metrics'][0]['values']; | 147 | $metric_val = $item['metrics'][0]['values']; |