diff --git a/packages/bruno-app/src/utils/codegenerator/har.js b/packages/bruno-app/src/utils/codegenerator/har.js index e0e2b2a6..5fde7961 100644 --- a/packages/bruno-app/src/utils/codegenerator/har.js +++ b/packages/bruno-app/src/utils/codegenerator/har.js @@ -23,12 +23,12 @@ const createHeaders = (headers) => { }; const createQuery = (queryParams = []) => { - return queryParams.map((param) => { - return { + return queryParams + .filter((param) => param.enabled) + .map((param) => ({ name: param.name, value: param.value - }; - }); + })); }; const createPostData = (body) => {