Last active
July 19, 2020 06:24
-
-
Save Sarav-S/b7c22a7b19f9b2740e7ea71513cc6a05 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const validate = require('../BaseRequest'); | |
module.exports = (request, response, next) => { | |
return validate(request, response, next, { | |
'name': 'required|string|max:255', | |
'email': 'required|string|max:255' | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment