Commit 0f07449b15698b44808ee3e6d4d60ffc1ca098d8

Authored by Alex Savenko
1 parent 889ea43e

ga output

Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
app/library/App/Controllers/GaController.php
... ... @@ -44,7 +44,8 @@ class GaController extends CrudResourceController {
44 44 }
45 45 }
46 46 else {
47   - $result = $this->sendGaRequest($view_id, $get_metrics, $get_dimensions, $get_start_date, $get_end_date);
  47 + $project = Project::find(['ga_view_id' => $view_id]);
  48 + $result = $this->sendGaRequest($project->name, $view_id, $get_metrics, $get_dimensions, $get_start_date, $get_end_date);
48 49 }
49 50 return $result;
50 51  
... ...