Skip to content

Commit

Permalink
fix: empty body string should be undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
0xtsukino committed Aug 21, 2024
1 parent 30a7b7b commit 798c576
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/RequestBuilder/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ export default function RequestBuilder(props?: {
}
return map;
}, {}),
body: body ? formatForRequest(body, type) : '',
body: body ? formatForRequest(body, type) : undefined,
maxSentData,
maxRecvData,
secretHeaders: [],
Expand Down

0 comments on commit 798c576

Please sign in to comment.