From 01f46e51583e729a1020ccaf8bf20c0b17f442b1 Mon Sep 17 00:00:00 2001 From: Andrew Bastin Date: Mon, 28 Mar 2022 17:03:27 +0530 Subject: [PATCH] fix: postman import does not force the protocol if not specified, fixes #2208 --- packages/hoppscotch-app/helpers/import-export/import/postman.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/hoppscotch-app/helpers/import-export/import/postman.ts b/packages/hoppscotch-app/helpers/import-export/import/postman.ts index 07e291787..058637734 100644 --- a/packages/hoppscotch-app/helpers/import-export/import/postman.ts +++ b/packages/hoppscotch-app/helpers/import-export/import/postman.ts @@ -262,7 +262,7 @@ const getHoppReqBody = (item: Item): HoppRESTReqBody => { const getHoppReqURL = (item: Item): string => pipe( - item.request.url.toString(true), + item.request.url.toString(false), S.replace(/\?.+/g, ""), replacePMVarTemplating )