Update channels.js

This commit is contained in:
Aleksandr Statciuk 2022-05-23 18:50:34 +03:00
parent 172c43f5d4
commit 2ed243c368

View file

@ -6,7 +6,7 @@ module.exports = {
.regex(/^[A-Za-z0-9]+\.[a-z]{2}$/)
.required(),
name: Joi.string()
.regex(/^[\sa-z\u00C0-\u00FF0-9-čâộ!:&.+'/»#%°$@?()¡]+$/i)
.regex(/^[\sa-z\u00C0-\u00FF0-9-čâộă!:&.+'/»#%°$@?()¡]+$/i)
.required(),
native_name: Joi.string()
.regex(/^[^",]+$/)