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

this.validateBody is not validating the keys even keys are in body of request. #35

Open
usamadanish22 opened this issue Jan 7, 2021 · 2 comments

Comments

@usamadanish22
Copy link

yield this.validateBody({ password: 'required', email_id: 'required' });

trying to validate the request body but when everything is in it, it still says Fields are required. everything is in it.
node 12.20.0
koa-validation 0.1.9

@usamadanish22
Copy link
Author

+1

1 similar comment
@subhani-ali
Copy link

+1

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