diff options
Diffstat (limited to 'server/middlewares/reqValidators')
-rw-r--r-- | server/middlewares/reqValidators/videos.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/middlewares/reqValidators/videos.js b/server/middlewares/reqValidators/videos.js index d444c9f0a..10b6d39c6 100644 --- a/server/middlewares/reqValidators/videos.js +++ b/server/middlewares/reqValidators/videos.js | |||
@@ -30,7 +30,7 @@ function videosAdd (req, res, next) { | |||
30 | } | 30 | } |
31 | 31 | ||
32 | if (duration > constants.MAXIMUM_VIDEO_DURATION) { | 32 | if (duration > constants.MAXIMUM_VIDEO_DURATION) { |
33 | return res.status(400).send('Duration of the video file is too big (' + constants.MAXIMUM_VIDEO_DURATION + ').') | 33 | return res.status(400).send('Duration of the video file is too big (max: ' + constants.MAXIMUM_VIDEO_DURATION + 's).') |
34 | } | 34 | } |
35 | 35 | ||
36 | videoFile.duration = duration | 36 | videoFile.duration = duration |