]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/middlewares/validators/themes.ts
Remove unnecessary logs
[github/Chocobozzz/PeerTube.git] / server / middlewares / validators / themes.ts
index f6a8c2d923158a5b6a0fc849abc4e06e2dbd9b49..c130801a01cfb24c7328f969781dcf1f10bba8b6 100644 (file)
@@ -3,7 +3,6 @@ import { param } from 'express-validator'
 import { HttpStatusCode } from '../../../shared/models/http/http-error-codes'
 import { isSafePath } from '../../helpers/custom-validators/misc'
 import { isPluginNameValid, isPluginVersionValid } from '../../helpers/custom-validators/plugins'
-import { logger } from '../../helpers/logger'
 import { PluginManager } from '../../lib/plugins/plugin-manager'
 import { areValidationErrors } from './shared'
 
@@ -16,8 +15,6 @@ const serveThemeCSSValidator = [
     .custom(isSafePath),
 
   (req: express.Request, res: express.Response, next: express.NextFunction) => {
-    logger.debug('Checking serveThemeCSS parameters', { parameters: req.params })
-
     if (areValidationErrors(req, res)) return
 
     const theme = PluginManager.Instance.getRegisteredThemeByShortName(req.params.themeName)