From f915f086afb773d062d035350357c2dcad2f61d6 Mon Sep 17 00:00:00 2001 From: Filipe Leandro Date: Fri, 18 Sep 2020 17:46:30 -0300 Subject: [PATCH] ENG-1287 fixing issue with file browser traversion; --- lib/env-bundler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/env-bundler.js b/lib/env-bundler.js index 1d8e417..813887e 100644 --- a/lib/env-bundler.js +++ b/lib/env-bundler.js @@ -293,7 +293,7 @@ async function getComponents (type) { async function recursiveTraverseFileTree (root, token) { const rootTraversed = await Promise.all(root.map(async (resource) => { if (resource.directory === true) { - const result = await axios.get(apiUrlTable.resourceDetails.replace('{path}', resource.path), { + const result = await axios.get(apiUrlTable.resource.replace('currentPath=', `currentPath=${resource.path}`), { headers: { Authorization: `Bearer ${token}` }, });