Skip to content

Commit d09b888

Browse files
committed
adding form fields to fileInfo
1 parent dc7b5ac commit d09b888

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/uploadhandler.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ module.exports = function (options) {
6868
if (!--counter) {
6969
async.each(files, _.bind(function(fileInfo, cb) {
7070
this.initUrls(fileInfo, _.bind(function(err) {
71+
fileInfo.formData = self.req.body;
7172
this.emit('end', fileInfo);
7273
cb(err);
7374
}, this));

0 commit comments

Comments
 (0)