Skip to content

Commit

Permalink
Fix application/xml import issue for insomnia (usebruno#3168)
Browse files Browse the repository at this point in the history
  • Loading branch information
itsarijitray authored Sep 23, 2024
1 parent 03e7c27 commit 7107fa3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ const transformInsomniaRequestItem = (request, index, allRequests) => {
} else if (mimeType === 'text/plain') {
brunoRequestItem.request.body.mode = 'text';
brunoRequestItem.request.body.text = request.body.text;
} else if (mimeType === 'text/xml') {
} else if (mimeType === 'text/xml' || mimeType === 'application/xml') {
brunoRequestItem.request.body.mode = 'xml';
brunoRequestItem.request.body.xml = request.body.text;
} else if (mimeType === 'application/graphql') {
Expand Down

0 comments on commit 7107fa3

Please sign in to comment.