]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/helpers/audit-logger.ts
Move config in its own file
[github/Chocobozzz/PeerTube.git] / server / helpers / audit-logger.ts
index af37bce16cd0da150f6d780df1e7b6346c42e404..f536da43917345545c5c0df13c0ca0563460a07c 100644 (file)
@@ -4,11 +4,11 @@ import { diff } from 'deep-object-diff'
 import { chain } from 'lodash'
 import * as flatten from 'flat'
 import * as winston from 'winston'
-import { CONFIG } from '../initializers'
 import { jsonLoggerFormat, labelFormatter } from './logger'
 import { User, VideoAbuse, VideoChannel, VideoDetails, VideoImport } from '../../shared'
 import { VideoComment } from '../../shared/models/videos/video-comment.model'
 import { CustomConfig } from '../../shared/models/server/custom-config.model'
+import { CONFIG } from '../initializers/config'
 
 function getAuditIdFromRes (res: express.Response) {
   return res.locals.oauth.token.User.username