Update channels.js

This commit is contained in:
Aleksandr Statciuk 2022-05-22 17:59:30 +03:00
parent cf2a59a5c2
commit 6ef77c151f

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(/^[^",]+$/)