}
]
-const videoChannelGetValidator = [
+const videoChannelsGetValidator = [
param('id').custom(isIdOrUUIDValid).not().isEmpty().withMessage('Should have a valid id'),
(req: express.Request, res: express.Response, next: express.NextFunction) => {
videoChannelsAddValidator,
videoChannelsUpdateValidator,
videoChannelsRemoveValidator,
- videoChannelGetValidator
+ videoChannelsGetValidator
}
// ---------------------------------------------------------------------------