Merged environment.ts and variables.ts
This commit is contained in:
@@ -229,7 +229,6 @@ onMounted(() => {
|
||||
if (editor.value) {
|
||||
if (!view.value) initView(editor.value)
|
||||
}
|
||||
console.log("editor.value", editor.value)
|
||||
})
|
||||
|
||||
watch(editor, () => {
|
||||
|
||||
@@ -14,7 +14,6 @@ import {
|
||||
HoppRESTHeader,
|
||||
HoppRESTParam,
|
||||
} from "@hoppscotch/data"
|
||||
import { parseTemplateStringV } from "@hoppscotch/data/src/variables"
|
||||
import { arrayFlatMap, arraySort } from "../functional/array"
|
||||
import { toFormData } from "../functional/formData"
|
||||
import { tupleToRecord } from "../functional/record"
|
||||
@@ -306,7 +305,7 @@ export function getEffectiveRESTRequest(
|
||||
|
||||
return {
|
||||
...request,
|
||||
effectiveFinalURL: parseTemplateStringV(
|
||||
effectiveFinalURL: parseTemplateString(
|
||||
request.endpoint,
|
||||
envVariables,
|
||||
request.vars
|
||||
|
||||
Reference in New Issue
Block a user