diff options
Diffstat (limited to 'controllers/uploadController.js')
| -rw-r--r-- | controllers/uploadController.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/controllers/uploadController.js b/controllers/uploadController.js index cbb4e64..2eccf95 100644 --- a/controllers/uploadController.js +++ b/controllers/uploadController.js @@ -17,7 +17,7 @@ const storage = multer.diskStorage({ const upload = multer({ storage: storage, - limits: { fileSize: config.uploads.maxsize } + limits: { fileSize: config.uploads.maxSize } }).array('files[]') uploadsController.upload = function(req, res, next){ |