diff --git a/app/controllers/shared/api.php b/app/controllers/shared/api.php index fc59d100ef..b7953da491 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)