-
-
Notifications
You must be signed in to change notification settings - Fork 615
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem in checkSchema example #748
Comments
It doesn't matter, if I send or no the username with the request. |
Hello! Now on to the |
Hi, I am using |
Check this file for validators Check this file for sanitizers |
Giving me following exception-
|
@souravray checkSchema({
parama_name: {
trim: {
options: " -",
},
},
}) |
Hi, I am following the example from here: https://express-validator.github.io/docs/schema-validation.html . It is the exact same example, but when I run the app, I am getting a warning in the console:
When I make a request to this route, with invalid data, I am getting this error:
The text was updated successfully, but these errors were encountered: