mirror of https://github.com/Chocobozzz/PeerTube
Remove unused log
parent
b42c2c7e89
commit
8d33235de7
|
@ -10,7 +10,6 @@ import { CONFIG, reloadConfig } from '../../initializers/config'
|
||||||
import { ClientHtml } from '../../lib/client-html'
|
import { ClientHtml } from '../../lib/client-html'
|
||||||
import { asyncMiddleware, authenticate, ensureUserHasRight, openapiOperationDoc } from '../../middlewares'
|
import { asyncMiddleware, authenticate, ensureUserHasRight, openapiOperationDoc } from '../../middlewares'
|
||||||
import { customConfigUpdateValidator, ensureConfigIsEditable } from '../../middlewares/validators/config'
|
import { customConfigUpdateValidator, ensureConfigIsEditable } from '../../middlewares/validators/config'
|
||||||
import { logger } from '@server/helpers/logger'
|
|
||||||
|
|
||||||
const configRouter = express.Router()
|
const configRouter = express.Router()
|
||||||
|
|
||||||
|
@ -113,7 +112,6 @@ async function updateCustomConfig (req: express.Request, res: express.Response)
|
||||||
|
|
||||||
const data = customConfig()
|
const data = customConfig()
|
||||||
|
|
||||||
logger.info('coucou', { data })
|
|
||||||
auditLogger.update(
|
auditLogger.update(
|
||||||
getAuditIdFromRes(res),
|
getAuditIdFromRes(res),
|
||||||
new CustomConfigAuditView(data),
|
new CustomConfigAuditView(data),
|
||||||
|
|
Loading…
Reference in New Issue