We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d0a9e6 commit b92b728Copy full SHA for b92b728
1 file changed
src/targets/node/axios.js
@@ -72,7 +72,7 @@ module.exports = function (source, options) {
72
const { postData } = source
73
const { mimeType } = postData
74
const [data, includeFS] = contentBodyFactory(mimeType, postData)
75
- if (data) {
+ if (Object.keys(data).length > 0) {
76
requestOptions['data'] = data
77
}
78
if (includeFS) {
0 commit comments