Commit 8015a23b5c8c148f77586c46387c88948f32e023

Authored by Alex Savenko
1 parent 29f4a05f

doc metrics

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/library/App/Resources/GaResource.php
... ... @@ -28,7 +28,7 @@ class GaResource extends ApiResource {
28 28 ->deny(AclRoles::UNAUTHORIZED)
29 29 ->handler(GaController::class)
30 30  
31   - ->endpoint(ApiEndpoint::get('/', 'getAction')
  31 + ->endpoint(ApiEndpoint::get('/{metric}', 'getAction')
32 32 ->allow(AclRoles::USER)
33 33 ->description('Returns data from Google Analytics Api')
34 34 )
... ...