fix: postman import does not force the protocol if not specified, fixes #2208

This commit is contained in:
Andrew Bastin
2022-03-28 17:03:27 +05:30
parent f9bc30b89f
commit 01f46e5158

View File

@@ -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
)