Skip to content
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

Remove express-validator/check #284

Open
MdialloC19 opened this issue Jan 27, 2024 · 1 comment
Open

Remove express-validator/check #284

MdialloC19 opened this issue Jan 27, 2024 · 1 comment

Comments

@MdialloC19
Copy link

I wanted to bring to your attention an issue I encountered while working with the user routes file in the project. It seems that the usage of express-validator/check is causing some problems, and the functionality is no longer working as expected.

const { check, validationResult } = require("express-validator/check");

I would suggest revisiting the Udemy video related to this section and considering removing or updating the usage of express-validator/check. It's possible that there have been changes or deprecations in the library that are affecting the current implementation.
If you could take a look at this and make the necessary adjustments, it would be greatly appreciated.
this work for me

const { check, validationResult } = require("express-validator");
@lisagorewitdecker
Copy link

@dependbot patch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants