diff --git a/app/library/App/Controllers/GaController.php b/app/library/App/Controllers/GaController.php index a1affc6..da46f51 100644 --- a/app/library/App/Controllers/GaController.php +++ b/app/library/App/Controllers/GaController.php @@ -38,7 +38,7 @@ class GaController extends CrudResourceController { if (true) { $projects = Project::find(['user_id' => $user_id]); foreach ($projects as $project) { - $result[] = $this->sendGaRequest('119240817', $get_metrics, $get_dimensions, $get_start_date, $get_end_date); + $result[] = $this->sendGaRequest($project->ga_view_id, $get_metrics, $get_dimensions, $get_start_date, $get_end_date); } } else { -- libgit2 0.21.4