complete function returns empty buffer

complete function returns empty buffer since uploaded to the temporary file.
dev
Roman Burunkov 5 years ago committed by GitHub
parent d027a76218
commit 710225db80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      lib/tempFileHandler.js

@ -38,6 +38,7 @@ module.exports = function(options, fieldname, filename) {
},
complete: function(){
writeStream.end();
return Buffer.concat([]); //return empty buffer since uploaded to the temporary file.
}
};
};

Loading…
Cancel
Save