Skip to content

Commit

Permalink
fix: collection/folder docs when importing postman collection (#3745)
Browse files Browse the repository at this point in the history
* fix: collection/folder docs when importing postman collection

* fix
  • Loading branch information
pooja-bruno authored Jan 7, 2025
1 parent 539d221 commit 5f63cc4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/bruno-app/src/utils/importers/postman-collection.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ const importPostmanV2CollectionItem = (brunoParent, item, parentAuth, options) =
type: 'folder',
items: [],
root: {
docs: i.description || '',
meta: {
name: folderName
},
Expand Down Expand Up @@ -226,6 +227,7 @@ const importPostmanV2CollectionItem = (brunoParent, item, parentAuth, options) =

brunoParent.items.push(brunoFolderItem);
folderMap[folderName] = brunoFolderItem;

} else {
if (i.request) {
const baseRequestName = i.name;
Expand Down Expand Up @@ -483,6 +485,7 @@ const importPostmanV2Collection = (collection, options) => {
items: [],
environments: [],
root: {
docs: collection.info.description || '',
meta: {
name: collection.info.name
},
Expand Down

0 comments on commit 5f63cc4

Please sign in to comment.