Update regions.js

This commit is contained in:
Aleksandr Statciuk 2022-02-19 06:18:59 +03:00
parent 9bc11e2f6c
commit 6d9bff097d

View file

@ -10,6 +10,6 @@ module.exports = {
countries: Joi.array().items( countries: Joi.array().items(
Joi.string() Joi.string()
.regex(/^[A-Z]{2}$/) .regex(/^[A-Z]{2}$/)
.allow('') .required()
) )
} }