From 368b40c9d155dd7de061ca7964a166b8ca5d0959 Mon Sep 17 00:00:00 2001 From: Pitu Date: Wed, 18 Jan 2017 20:38:13 -0300 Subject: Camelcased the config --- controllers/uploadController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'controllers/uploadController.js') 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){ -- cgit v1.2.3