Update channels.js

This commit is contained in:
Aleksandr Statciuk 2022-05-16 16:27:56 +03:00
parent 6afab655a2
commit df73d62075

View file

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