diff --git a/app/library/App/Resources/GaResource.php b/app/library/App/Resources/GaResource.php index c32f113..d424677 100644 --- a/app/library/App/Resources/GaResource.php +++ b/app/library/App/Resources/GaResource.php @@ -28,7 +28,7 @@ class GaResource extends ApiResource { ->deny(AclRoles::UNAUTHORIZED) ->handler(GaController::class) - ->endpoint(ApiEndpoint::get('/', 'getAction') + ->endpoint(ApiEndpoint::get('/{metric}', 'getAction') ->allow(AclRoles::USER) ->description('Returns data from Google Analytics Api') ) -- libgit2 0.21.4