From 284a96108e7f334ed90914ce7a14d50cfe145902 Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 10 Feb 2017 17:36:03 +0200 Subject: [PATCH] dynamic dateRange --- app/library/App/Resources/GaResource.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/library/App/Resources/GaResource.php b/app/library/App/Resources/GaResource.php index 1e378e7..c32f113 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('?start&metric={metric1},{metric2}', 'getAction') + ->endpoint(ApiEndpoint::get('/', 'getAction') ->allow(AclRoles::USER) ->description('Returns data from Google Analytics Api') ) -- libgit2 0.21.4