Updated the channelValidation.ts
This commit is contained in:
parent
0bba59383b
commit
5e4c7e0168
@ -2,12 +2,13 @@ import Joi from 'joi';
|
||||
|
||||
export const patchChannel = Joi.object({
|
||||
langCode: Joi.string()
|
||||
.allow("en", "de")
|
||||
.min(2)
|
||||
.max(2),
|
||||
designId: Joi.number()
|
||||
.min(0)
|
||||
.max(100),
|
||||
.max(6),
|
||||
topicId: Joi.number()
|
||||
.min(0)
|
||||
.max(100)
|
||||
.max(5)
|
||||
});
|
Loading…
x
Reference in New Issue
Block a user