diff --git a/packages/bruno-app/src/utils/importers/postman-collection.js b/packages/bruno-app/src/utils/importers/postman-collection.js index bd20c008..feacaf85 100644 --- a/packages/bruno-app/src/utils/importers/postman-collection.js +++ b/packages/bruno-app/src/utils/importers/postman-collection.js @@ -55,9 +55,9 @@ const convertV21Auth = (array) => { const importPostmanV2CollectionItem = (brunoParent, item, parentAuth) => { brunoParent.items = brunoParent.items || []; + const folderMap = {}; each(item, (i) => { - const folderMap = {}; if (isItemAFolder(i)) { const baseFolderName = i.name; let folderName = baseFolderName;