express validator form data value undefined code example
Example: express validator form data value undefined
// working
router.post("/", upload.upload('image').single('categoryLogo'), validate, categoryController);
// not working
router.post("/", validate, upload.upload('image').single('categoryLogo'), categoryController);