Allow channel names more than 1 character long
This commit is contained in:
parent
c255ab137c
commit
34726051ba
1 changed files with 1 additions and 1 deletions
|
|
@ -1,3 +1,3 @@
|
|||
import Joi from "joi";
|
||||
|
||||
export const channelSchema = Joi.string().pattern(/^[a-z0-9_\-]$/i);
|
||||
export const channelSchema = Joi.string().pattern(/^[a-z0-9_\-]+$/i);
|
||||
Loading…
Add table
Add a link
Reference in a new issue