From 0709abea9020cd85ea7905761aa82355e7562d92 Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 17 Feb 2017 22:04:04 +0200 Subject: [PATCH] ga output --- app/library/App/Controllers/GaController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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