Skip to content

Commit

Permalink
Merge pull request #3701 from lohxt1/fix/cli-multipart
Browse files Browse the repository at this point in the history
fix: cli multipart
  • Loading branch information
lohxt1 authored Dec 30, 2024
2 parents 1f2bee1 + 43e892f commit e4574e3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/bruno-cli/src/runner/prepare-request.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,7 @@ const prepareRequest = (item = {}, collection = {}) => {
if (request.body.mode === 'multipartForm') {
axiosRequest.headers['content-type'] = 'multipart/form-data';
const enabledParams = filter(request.body.multipartForm, (p) => p.enabled);
const collectionPath = process.cwd();
axiosRequest.data = createFormData(enabledParams, collectionPath);
axiosRequest.data = enabledParams;
}

if (request.body.mode === 'graphql') {
Expand Down

0 comments on commit e4574e3

Please sign in to comment.