Kindly wait a moment, post will be visible in just 5 seconds.
Learn trending tech & full-stack development. Book now
2 Comments
Gopal Saw
6 October 2021
I have one problem with express validator with multipart-data , first middleware put validator not validate data, in case of first middleware put upload image and then validator then work. I want to put first all user request data validate and then file upload. (localFileUpload.single('profilePicture'),validateSignUpRequest,isRequestValidated,authController.register) This is work but validateSignUpRequest,isRequestValidated,localFileUpload.single('profilePicture'),authController.register not validate request. Please replay this issues and how to resolved it.
Rizwan Khan
21 November 2020
where is error