diff options
author | Chocobozzz <me@florianbigard.com> | 2021-12-24 10:14:47 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-12-24 10:14:47 +0100 |
commit | d17c7b4e8c52317bdc874917387b7a49f6cf8b01 (patch) | |
tree | 83a736f566f8cb4c696fa8e59086a523bbb4b4bf /server/helpers/custom-validators/videos.ts | |
parent | 1e9c1b1b44b4cbd4bc4b1e97e8e6ba2df93371de (diff) | |
download | PeerTube-d17c7b4e8c52317bdc874917387b7a49f6cf8b01.tar.gz PeerTube-d17c7b4e8c52317bdc874917387b7a49f6cf8b01.tar.zst PeerTube-d17c7b4e8c52317bdc874917387b7a49f6cf8b01.zip |
Fix shared imports
Diffstat (limited to 'server/helpers/custom-validators/videos.ts')
-rw-r--r-- | server/helpers/custom-validators/videos.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/helpers/custom-validators/videos.ts b/server/helpers/custom-validators/videos.ts index 1d56ade6f..e526c4284 100644 --- a/server/helpers/custom-validators/videos.ts +++ b/server/helpers/custom-validators/videos.ts | |||
@@ -2,8 +2,7 @@ import { UploadFilesForCheck } from 'express' | |||
2 | import { values } from 'lodash' | 2 | import { values } from 'lodash' |
3 | import magnetUtil from 'magnet-uri' | 3 | import magnetUtil from 'magnet-uri' |
4 | import validator from 'validator' | 4 | import validator from 'validator' |
5 | import { VideoInclude } from '@shared/models' | 5 | import { VideoFilter, VideoInclude, VideoPrivacy, VideoRateType } from '@shared/models' |
6 | import { VideoFilter, VideoPrivacy, VideoRateType } from '../../../shared' | ||
7 | import { | 6 | import { |
8 | CONSTRAINTS_FIELDS, | 7 | CONSTRAINTS_FIELDS, |
9 | MIMETYPES, | 8 | MIMETYPES, |