Update channels.js

This commit is contained in:
Aleksandr Statciuk 2022-10-19 01:22:49 +03:00
parent 1780946798
commit 7951ec7888

View file

@ -6,7 +6,7 @@ module.exports = {
.regex(/^[A-Za-z0-9]+\.[a-z]{2}$/)
.required(),
name: Joi.string()
.regex(/^[a-z0-9-!:&.+'/»#%°$@?()\s]+$/i)
.regex(/^[a-z0-9-!:&.+'/»#%°$@?\s]+$/i)
.required(),
alt_names: Joi.array().items(
Joi.string()