diff options
author | Chocobozzz <me@florianbigard.com> | 2021-06-11 14:26:37 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-06-11 14:26:37 +0200 |
commit | 20a206c3d12ad285c31411cd506cede791958322 (patch) | |
tree | a7f8dd5b4cb8978086c8d441098058a2effec450 /server/middlewares/validators/shared | |
parent | 71d4af1efc810f853e1a0d986bf758c201692594 (diff) | |
download | PeerTube-20a206c3d12ad285c31411cd506cede791958322.tar.gz PeerTube-20a206c3d12ad285c31411cd506cede791958322.tar.zst PeerTube-20a206c3d12ad285c31411cd506cede791958322.zip |
Refactor include checks
Diffstat (limited to 'server/middlewares/validators/shared')
-rw-r--r-- | server/middlewares/validators/shared/videos.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/middlewares/validators/shared/videos.ts b/server/middlewares/validators/shared/videos.ts index 6131379ce..2c66c1a3a 100644 --- a/server/middlewares/validators/shared/videos.ts +++ b/server/middlewares/validators/shared/videos.ts | |||
@@ -10,8 +10,7 @@ import { | |||
10 | MVideoFullLight, | 10 | MVideoFullLight, |
11 | MVideoId, | 11 | MVideoId, |
12 | MVideoImmutable, | 12 | MVideoImmutable, |
13 | MVideoThumbnail, | 13 | MVideoThumbnail |
14 | MVideoWithRights | ||
15 | } from '@server/types/models' | 14 | } from '@server/types/models' |
16 | import { HttpStatusCode } from '@shared/core-utils' | 15 | import { HttpStatusCode } from '@shared/core-utils' |
17 | import { UserRight } from '@shared/models' | 16 | import { UserRight } from '@shared/models' |