From 8c5226c98418c2cfc066af90aaf9a847c5b8cc5d Mon Sep 17 00:00:00 2001 From: Flawid DSouza Date: Fri, 11 Oct 2024 20:09:30 +0530 Subject: [PATCH] fix(ui): Making a request now triggers plugin/post-scripts of all requests on a imported postman collection + seeing empty workspace plugins without name or code after importing a postman collection that has scripts in a request (fixes #278) --- packages/ui/src/parsers/postman.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ui/src/parsers/postman.ts b/packages/ui/src/parsers/postman.ts index f656f7cd..b68c8a06 100644 --- a/packages/ui/src/parsers/postman.ts +++ b/packages/ui/src/parsers/postman.ts @@ -242,7 +242,7 @@ function handlePostmanV2CollectionItem(postmanCollectionItem: any, parentId: str 'post_request': scriptConversion(postScript, 'postmanToRestfox') }, 'collectionId': requestId, - 'workspaceId': workspaceId, + 'workspaceId': null, 'enabled': true, 'createdAt': Date.now(), 'updatedAt': Date.now()