diff options
Diffstat (limited to 'server/middlewares/validators/videos/video-shares.ts')
-rw-r--r-- | server/middlewares/validators/videos/video-shares.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/middlewares/validators/videos/video-shares.ts b/server/middlewares/validators/videos/video-shares.ts index 0f04032bb..40337dcf1 100644 --- a/server/middlewares/validators/videos/video-shares.ts +++ b/server/middlewares/validators/videos/video-shares.ts | |||
@@ -10,7 +10,7 @@ const videosShareValidator = [ | |||
10 | isValidVideoIdParam('id'), | 10 | isValidVideoIdParam('id'), |
11 | 11 | ||
12 | param('actorId') | 12 | param('actorId') |
13 | .custom(isIdValid).not().isEmpty().withMessage('Should have a valid actor id'), | 13 | .custom(isIdValid), |
14 | 14 | ||
15 | async (req: express.Request, res: express.Response, next: express.NextFunction) => { | 15 | async (req: express.Request, res: express.Response, next: express.NextFunction) => { |
16 | logger.debug('Checking videoShare parameters', { parameters: req.params }) | 16 | logger.debug('Checking videoShare parameters', { parameters: req.params }) |