forked from extern/bruno
fix: fixed bugs in bru cli related to gql requests
This commit is contained in:
parent
67643c4c48
commit
837e39d870
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@usebruno/cli",
|
||||
"version": "0.1.0",
|
||||
"version": "0.1.2",
|
||||
"main": "src/index.js",
|
||||
"bin": {
|
||||
"bru": "./bin/bru.js"
|
||||
@ -14,7 +14,9 @@
|
||||
"@usebruno/js": "0.1.0",
|
||||
"@usebruno/lang": "0.1.0",
|
||||
"axios": "^1.3.2",
|
||||
"chai": "^4.3.7",
|
||||
"chalk": "^3.0.0",
|
||||
"form-data": "^4.0.0",
|
||||
"fs-extra": "^10.1.0",
|
||||
"inquirer": "^9.1.4",
|
||||
"lodash": "^4.17.21",
|
||||
|
@ -48,7 +48,7 @@ const bruToJson = (bru) => {
|
||||
}
|
||||
};
|
||||
|
||||
transformedJson.request.body.mode = _.get(json, "http.mode", "none");
|
||||
transformedJson.request.body.mode = _.get(json, "http.body", "none");
|
||||
|
||||
return transformedJson;
|
||||
} catch (err) {
|
||||
|
Loading…
Reference in New Issue
Block a user