fix: cli -- brutojson fn -- script obj

This commit is contained in:
lohxt1 2024-12-10 12:57:03 +05:30
parent 0c574aeb1e
commit 85c6b2d97f

View File

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