]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/middlewares/validators/videos/video-channels.ts
Don't expose constants directly in initializers/
[github/Chocobozzz/PeerTube.git] / server / middlewares / validators / videos / video-channels.ts
index e2067c4d99f54469420a62d2307fe04bbfa6dc5d..4b26f0bc408c54a0a98b4245a7929e36552a5819 100644 (file)
@@ -1,12 +1,11 @@
 import * as express from 'express'
 import { body, param } from 'express-validator/check'
 import { UserRight } from '../../../../shared'
-import { doesAccountNameWithHostExist } from '../../../helpers/custom-validators/accounts'
 import {
   doesLocalVideoChannelNameExist,
+  doesVideoChannelNameWithHostExist,
   isVideoChannelDescriptionValid,
   isVideoChannelNameValid,
-  doesVideoChannelNameWithHostExist,
   isVideoChannelSupportValid
 } from '../../../helpers/custom-validators/video-channels'
 import { logger } from '../../../helpers/logger'