From 501bc6c2b186f6a724a5b619d15aa44791f13995 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Sat, 21 May 2016 18:03:34 +0200 Subject: Thumbnail, author and duration support in client --- server/middlewares/reqValidators/videos.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/middlewares/reqValidators') diff --git a/server/middlewares/reqValidators/videos.js b/server/middlewares/reqValidators/videos.js index 6e6e75fb3..d4dec1a59 100644 --- a/server/middlewares/reqValidators/videos.js +++ b/server/middlewares/reqValidators/videos.js @@ -30,7 +30,7 @@ function videosAdd (req, res, next) { } if (duration > constants.MAXIMUM_VIDEO_DURATION) { - return res.status(400).send('Duration of the video file is too big.') + return res.status(400).send('Duration of the video file is too big (' + constants.MAXIMUM_VIDEO_DURATION + ').') } videoFile.duration = duration -- cgit v1.2.3