Signed-off-by: Arthur DANJOU <arthurdanjou@outlook.fr>
This commit is contained in:
2021-07-09 21:06:37 +02:00
parent 7a5b4a7b38
commit 48cb456c60
9 changed files with 24 additions and 216 deletions

View File

@@ -8,6 +8,9 @@ export default class GuestValidator {
public schema = schema.create({
message: schema.string({}, [
rules.required()
]),
email: schema.string({}, [
rules.email()
])
})