Skip to content

Commit

Permalink
ENG-1287 fixing issue with file browser traversion;
Browse files Browse the repository at this point in the history
  • Loading branch information
Filipe Leandro committed Sep 18, 2020
1 parent 0797b5b commit f915f08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/env-bundler.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}` },
});

Expand Down

0 comments on commit f915f08

Please sign in to comment.