mirror of
https://github.com/usebruno/bruno.git
synced 2025-02-15 01:10:14 +01:00
fix: collection/folder docs when importing postman collection (#3745)
* fix: collection/folder docs when importing postman collection * fix
This commit is contained in:
parent
539d22125c
commit
5f63cc4ab4
@ -199,6 +199,7 @@ const importPostmanV2CollectionItem = (brunoParent, item, parentAuth, options) =
|
||||
type: 'folder',
|
||||
items: [],
|
||||
root: {
|
||||
docs: i.description || '',
|
||||
meta: {
|
||||
name: folderName
|
||||
},
|
||||
@ -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;
|
||||
@ -483,6 +485,7 @@ const importPostmanV2Collection = (collection, options) => {
|
||||
items: [],
|
||||
environments: [],
|
||||
root: {
|
||||
docs: collection.info.description || '',
|
||||
meta: {
|
||||
name: collection.info.name
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user