diff --git a/app/library/App/Controllers/GaController.php b/app/library/App/Controllers/GaController.php index a82b500..cbf6917 100644 --- a/app/library/App/Controllers/GaController.php +++ b/app/library/App/Controllers/GaController.php @@ -40,7 +40,7 @@ class GaController extends CrudResourceController { $projects = Project::find(['user_id' => $user_id]); foreach ($projects as $project) { $view_id = (string)$project->ga_view_id; - $result['name'] = $project->name; + $result[] = ['name' => $project->name]; $result[] = $this->sendGaRequest($view_id, $get_metrics, $get_dimensions, $get_start_date, $get_end_date); } } -- libgit2 0.21.4