Merge pull request #57 from yorkie/fix/refs
this.options is undefined, should use options
This commit is contained in:
commit
5c9cf02a22
|
@ -24,7 +24,7 @@ exports.upload = function (provider, req, res, options, cb) {
|
|||
options.maxFileSize = defaultOptions.maxFileSize;
|
||||
}
|
||||
|
||||
var form = new IncomingForm(this.options);
|
||||
var form = new IncomingForm(options);
|
||||
container = options.container || req.params.container;
|
||||
var fields = {}, files = {};
|
||||
form.handlePart = function (part) {
|
||||
|
|
Loading…
Reference in New Issue