We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d09b888 commit 8d9ab1fCopy full SHA for 8d9ab1f
lib/uploadhandler.js
@@ -92,6 +92,7 @@ module.exports = function (options) {
92
self.emit('begin', fileInfo);
93
})
94
.on('field', function (name, value) {
95
+ if(!self.req.body) self.req.body = {};
96
self.req.body[name] = value;
97
if (name === 'redirect') {
98
redirect = value;
0 commit comments