Update channels.js

This commit is contained in:
Aleksandr Statciuk 2022-06-02 21:06:08 +03:00
parent 55b0ca1bfa
commit 7b49d130d9

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