diff options
Diffstat (limited to 'server/middlewares/validators/videos')
-rw-r--r-- | server/middlewares/validators/videos/video-rates.ts | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/server/middlewares/validators/videos/video-rates.ts b/server/middlewares/validators/videos/video-rates.ts index cbc144f69..15a8c7983 100644 --- a/server/middlewares/validators/videos/video-rates.ts +++ b/server/middlewares/validators/videos/video-rates.ts | |||
@@ -38,7 +38,6 @@ const getAccountVideoRateValidatorFactory = function (rateType: VideoRateType) { | |||
38 | if (!rate) { | 38 | if (!rate) { |
39 | return res.status(404) | 39 | return res.status(404) |
40 | .json({ error: 'Video rate not found' }) | 40 | .json({ error: 'Video rate not found' }) |
41 | .end() | ||
42 | } | 41 | } |
43 | 42 | ||
44 | res.locals.accountVideoRate = rate | 43 | res.locals.accountVideoRate = rate |