Skip to content

Commit

Permalink
fix(ui): remove duplicated body when creating test (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
NivLipetz authored Feb 26, 2019
1 parent e0a0cd4 commit 8c0453a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ui/src/features/PerformanceUI/components/TestForm/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ function buildStepsFromFlow (flow) {
return {
id: uuid(),
method: method.toUpperCase(),
body: request[method].body,
body: request[method].json,
gzip: request[method].gzip,
forever: request[method].forever,
url: request[method].url,
Expand Down Expand Up @@ -109,7 +109,6 @@ function prepareFlow (steps) {
return {
[step.method.toLowerCase()]: {
url: step.url,
body: step.body,
headers: prepareHeadersFromArray(step.headers),
json: step.body,
capture: prepareCapture(step.captures),
Expand Down

0 comments on commit 8c0453a

Please sign in to comment.