diff options
author | Chocobozzz <me@florianbigard.com> | 2022-08-09 11:13:01 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-08-09 11:13:01 +0200 |
commit | 8d33235de737e18eabb0816a950ba89f4a807e70 (patch) | |
tree | 449e9304d3502eb10658dfa0bb0e5528ff236aa9 /server/controllers | |
parent | b42c2c7e89a64ed730d8140840fe74a13c31f2a4 (diff) | |
download | PeerTube-8d33235de737e18eabb0816a950ba89f4a807e70.tar.gz PeerTube-8d33235de737e18eabb0816a950ba89f4a807e70.tar.zst PeerTube-8d33235de737e18eabb0816a950ba89f4a807e70.zip |
Remove unused log
Diffstat (limited to 'server/controllers')
-rw-r--r-- | server/controllers/api/config.ts | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/server/controllers/api/config.ts b/server/controllers/api/config.ts index 19bd2888c..ff2fa9d86 100644 --- a/server/controllers/api/config.ts +++ b/server/controllers/api/config.ts | |||
@@ -10,7 +10,6 @@ import { CONFIG, reloadConfig } from '../../initializers/config' | |||
10 | import { ClientHtml } from '../../lib/client-html' | 10 | import { ClientHtml } from '../../lib/client-html' |
11 | import { asyncMiddleware, authenticate, ensureUserHasRight, openapiOperationDoc } from '../../middlewares' | 11 | import { asyncMiddleware, authenticate, ensureUserHasRight, openapiOperationDoc } from '../../middlewares' |
12 | import { customConfigUpdateValidator, ensureConfigIsEditable } from '../../middlewares/validators/config' | 12 | import { customConfigUpdateValidator, ensureConfigIsEditable } from '../../middlewares/validators/config' |
13 | import { logger } from '@server/helpers/logger' | ||
14 | 13 | ||
15 | const configRouter = express.Router() | 14 | const configRouter = express.Router() |
16 | 15 | ||
@@ -113,7 +112,6 @@ async function updateCustomConfig (req: express.Request, res: express.Response) | |||
113 | 112 | ||
114 | const data = customConfig() | 113 | const data = customConfig() |
115 | 114 | ||
116 | logger.info('coucou', { data }) | ||
117 | auditLogger.update( | 115 | auditLogger.update( |
118 | getAuditIdFromRes(res), | 116 | getAuditIdFromRes(res), |
119 | new CustomConfigAuditView(data), | 117 | new CustomConfigAuditView(data), |