Skip to content

Commit b92b728

Browse files
author
Sefi Krausz
committed
changes
1 parent 1d0a9e6 commit b92b728

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/targets/node/axios.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ module.exports = function (source, options) {
7272
const { postData } = source
7373
const { mimeType } = postData
7474
const [data, includeFS] = contentBodyFactory(mimeType, postData)
75-
if (data) {
75+
if (Object.keys(data).length > 0) {
7676
requestOptions['data'] = data
7777
}
7878
if (includeFS) {

0 commit comments

Comments
 (0)