fix: fixed bugs in bru cli related to gql requests

This commit is contained in:
Anoop M D
2023-02-08 04:13:22 +05:30
parent 67643c4c48
commit 837e39d870
2 changed files with 4 additions and 2 deletions

View File

@@ -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) {