diff --git a/web/app/components/workflow/nodes/http/use-config.ts b/web/app/components/workflow/nodes/http/use-config.ts index 3d2dd21bcf..63722398cf 100644 --- a/web/app/components/workflow/nodes/http/use-config.ts +++ b/web/app/components/workflow/nodes/http/use-config.ts @@ -100,15 +100,13 @@ const useConfig = (id: string, payload: HttpNodeType) => { data: inputs, defaultRunInputData: {}, }) - const hasVarTexts = (() => { - return [ - inputs.url, - // inputs.headers, - // inputs.params, - // inputs.body.data, - ] - })() - const varInputs = getInputVars(hasVarTexts) + + const varInputs = getInputVars([ + inputs.url, + inputs.headers, + inputs.params, + inputs.body.data, + ]) const inputVarValues = (() => { const vars: Record = {}