From f8325b22b38817d6858990209211c29708ee408d Mon Sep 17 00:00:00 2001 From: Anoop M D Date: Wed, 29 Mar 2023 12:20:40 +0530 Subject: [PATCH] fix: fixed issue where env vars was not getting embedded inside xml req body (#141) --- packages/bruno-electron/src/ipc/network/interpolate-vars.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/bruno-electron/src/ipc/network/interpolate-vars.js b/packages/bruno-electron/src/ipc/network/interpolate-vars.js index cc3753abe..c9845f230 100644 --- a/packages/bruno-electron/src/ipc/network/interpolate-vars.js +++ b/packages/bruno-electron/src/ipc/network/interpolate-vars.js @@ -42,6 +42,8 @@ const interpolateVars = (request, envVars = {}, collectionVariables ={}) => { request.data = interpolate(request.data); } } + } else { + request.data = interpolate(request.data); } each(request.params, (param) => {