Commit 120f7a645891e95beaa85c62e2e02a0d1c1ec4b4

Authored by Alex Savenko
1 parent ea2d4431

ga response

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/library/App/Controllers/GaController.php
... ... @@ -33,7 +33,7 @@ class GaController extends CrudResourceController {
33 33 $client->setScopes(['https://www.googleapis.com/auth/analytics.readonly']);
34 34 $analytics = new Google_Service_AnalyticsReporting($client);
35 35  
36   - $param = ['metric' => 'ga:'.$getMetric];
  36 + $param[] = ['metric' => 'ga:'.$getMetric];
37 37  
38 38 $response = [];
39 39  
... ...