From a85d530384761a0af833caac9b38b9834517c9fa Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 17 Aug 2022 14:58:40 +0200 Subject: Remove unnecessary logs --- server/middlewares/validators/videos/video-transcoding.ts | 3 --- 1 file changed, 3 deletions(-) (limited to 'server/middlewares/validators/videos/video-transcoding.ts') diff --git a/server/middlewares/validators/videos/video-transcoding.ts b/server/middlewares/validators/videos/video-transcoding.ts index 36b9799e6..3eb2d3141 100644 --- a/server/middlewares/validators/videos/video-transcoding.ts +++ b/server/middlewares/validators/videos/video-transcoding.ts @@ -4,7 +4,6 @@ import { isValidCreateTranscodingType } from '@server/helpers/custom-validators/ import { CONFIG } from '@server/initializers/config' import { VideoJobInfoModel } from '@server/models/video/video-job-info' import { HttpStatusCode } from '@shared/models' -import { logger } from '../../../helpers/logger' import { areValidationErrors, doesVideoExist, isValidVideoIdParam } from '../shared' const createTranscodingValidator = [ @@ -14,8 +13,6 @@ const createTranscodingValidator = [ .custom(isValidCreateTranscodingType), async (req: express.Request, res: express.Response, next: express.NextFunction) => { - logger.debug('Checking createTranscodingValidator parameters', { parameters: req.body }) - if (areValidationErrors(req, res)) return if (!await doesVideoExist(req.params.videoId, res, 'all')) return -- cgit v1.2.3