this.options is undefined, should use options
This commit is contained in:
parent
bddb69e3fc
commit
24f24f12a2
|
@ -24,7 +24,7 @@ exports.upload = function (provider, req, res, options, cb) {
|
||||||
options.maxFileSize = defaultOptions.maxFileSize;
|
options.maxFileSize = defaultOptions.maxFileSize;
|
||||||
}
|
}
|
||||||
|
|
||||||
var form = new IncomingForm(this.options);
|
var form = new IncomingForm(options);
|
||||||
container = options.container || req.params.container;
|
container = options.container || req.params.container;
|
||||||
var fields = {}, files = {};
|
var fields = {}, files = {};
|
||||||
form.handlePart = function (part) {
|
form.handlePart = function (part) {
|
||||||
|
|
Loading…
Reference in New Issue