Skip to content

make validation before use multer to handel files #3

Description

@binSaed

we need to put this multer middleware at the end
because we need to validate the fields before handel upload files
but if I change multer middleware to the end of req
validation not working because it is not found any fields in req.body
because express does not parse form-data for this we need to put multer middleware at the first
->;(<-

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions