Update channels.js

This commit is contained in:
Aleksandr Statciuk 2022-05-16 17:12:49 +03:00
parent 7b40381041
commit 9d7a30ea54

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-z\u00C0-\u00FF0-9-č!:&.+'/»#%°$@?()¡]+$/i)
.required(),
native_name: Joi.string()
.regex(/^[^",]+$/)