Commit 284a96108e7f334ed90914ce7a14d50cfe145902

Authored by Alex Savenko
1 parent 180e10be

dynamic dateRange

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,7 +28,7 @@ class GaResource extends ApiResource {
28 ->deny(AclRoles::UNAUTHORIZED) 28 ->deny(AclRoles::UNAUTHORIZED)
29 ->handler(GaController::class) 29 ->handler(GaController::class)
30 30
31 - ->endpoint(ApiEndpoint::get('?start&metric={metric1},{metric2}', 'getAction') 31 + ->endpoint(ApiEndpoint::get('/', 'getAction')
32 ->allow(AclRoles::USER) 32 ->allow(AclRoles::USER)
33 ->description('Returns data from Google Analytics Api') 33 ->description('Returns data from Google Analytics Api')
34 ) 34 )