Skip to content

Commit

Permalink
fix: cli multipart
Browse files Browse the repository at this point in the history
  • Loading branch information
lohxt1 committed Dec 27, 2024
1 parent f871bc0 commit 43e892f
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 43e892f

Please sign in to comment.