Commit a7c416d05ac3d071bad38dd6af4776fe15762da8

Authored by Alex Savenko
1 parent e24d9510

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 - return $response; 144 +
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'];