Fixed issue where collection folder name for paths were having extra spaces

This commit is contained in:
Vishal Shingala
2022-11-23 19:22:31 +05:30
parent 74d831b46d
commit 735190c750
2 changed files with 18 additions and 1 deletions

View File

@@ -990,7 +990,7 @@ module.exports = {
// only return a Postman folder if this folder has>1 children in its subtree
// otherwise we can end up with 10 levels of folders with 1 request in the end
itemGroup = new sdk.ItemGroup({
name: utils.insertSpacesInName(resource.name)
name: resource.name
// TODO: have to add auth here (but first, auth to be put into the openapi tree)
});
// If a folder has only one child which is a folder then we collapsed the child folder