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

feat: Add more robust validators #8

Open
vijay-jaisankar opened this issue Mar 21, 2022 · 0 comments
Open

feat: Add more robust validators #8

vijay-jaisankar opened this issue Mar 21, 2022 · 0 comments

Comments

@vijay-jaisankar
Copy link
Member

We can add more robust validators to the app, potentially incorporate it into a stored procedure.

For example, we should change this:

if (!Email || typeof Email !== 'string') {
		return res.json({ status: 'error', error: 'Invalid Email id' })
	}
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

1 participant