From d756f913abf3685afd0175efcb5635e4a8519211 Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 17 Feb 2017 22:11:23 +0200 Subject: [PATCH] ga output --- app/library/App/Controllers/GaController.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/library/App/Controllers/GaController.php b/app/library/App/Controllers/GaController.php index 86a9d87..32f0799 100644 --- a/app/library/App/Controllers/GaController.php +++ b/app/library/App/Controllers/GaController.php @@ -38,8 +38,7 @@ class GaController extends CrudResourceController { if (true) { $projects = Project::find(['user_id' => $user_id]); foreach ($projects as $project) { - //$view_id = $project->ga_view_id; - $view_id = '119240817'; + $view_id = string($project->ga_view_id); $result[] = $this->sendGaRequest($view_id, $get_metrics, $get_dimensions, $get_start_date, $get_end_date); } } -- libgit2 0.21.4