From 218b332b0f92fef229f0970c6961faac8992adff Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Tue, 24 Aug 2021 15:36:45 +0545 Subject: [PATCH] fix get url --- app/controllers/shared/api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/shared/api.php b/app/controllers/shared/api.php index fc59d100e..b7953da49 100644 --- a/app/controllers/shared/api.php +++ b/app/controllers/shared/api.php @@ -104,7 +104,7 @@ App::init(function ($utopia, $request, $response, $project, $user, $events, $aud ->setParam('httpRequest', 1) ->setParam('httpUrl', $request->getHostname().$request->getURI()) ->setParam('httpMethod', $request->getMethod()) - ->setParam('httpPath', $route->getURL()) + ->setParam('httpPath', $route->getPath()) ->setParam('networkRequestSize', 0) ->setParam('networkResponseSize', 0) ->setParam('storage', 0)