0
0
Fork 0

Allow channel names more than 1 character long

This commit is contained in:
Oliver-Akins 2023-02-20 20:22:38 -07:00
parent c255ab137c
commit 34726051ba

View file

@ -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);