Merge pull request #3624 from lohxt1/fix/cli-brutojson

fix: cli -- brutojson fn -- req script should be obj by default
This commit is contained in:
lohit 2024-12-10 13:26:45 +05:30 committed by GitHub
commit 57d86eb118
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -58,7 +58,7 @@ const bruToJson = (bru) => {
body: _.get(json, 'body', {}),
vars: _.get(json, 'vars', []),
assertions: _.get(json, 'assertions', []),
script: _.get(json, 'script', ''),
script: _.get(json, 'script', {}),
tests: _.get(json, 'tests', '')
}
};