aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/middlewares/validators/videos
diff options
context:
space:
mode:
Diffstat (limited to 'server/middlewares/validators/videos')
-rw-r--r--server/middlewares/validators/videos/video-live.ts4
1 files changed, 0 insertions, 4 deletions
diff --git a/server/middlewares/validators/videos/video-live.ts b/server/middlewares/validators/videos/video-live.ts
index 8f821c5f9..ff492da0f 100644
--- a/server/middlewares/validators/videos/video-live.ts
+++ b/server/middlewares/validators/videos/video-live.ts
@@ -170,10 +170,6 @@ const videoLiveUpdateValidator = [
170 170
171 const body: LiveVideoUpdate = req.body 171 const body: LiveVideoUpdate = req.body
172 172
173 if (body.permanentLive && body.saveReplay) {
174 return res.fail({ message: 'Cannot set this live as permanent while saving its replay' })
175 }
176
177 if (hasValidSaveReplay(body) !== true) { 173 if (hasValidSaveReplay(body) !== true) {
178 return res.fail({ 174 return res.fail({
179 status: HttpStatusCode.FORBIDDEN_403, 175 status: HttpStatusCode.FORBIDDEN_403,