Skip to content

make validation before use multer to handel files #3

@binSaed

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
->;(<-

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