aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/middlewares/validators
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-06-11 14:26:37 +0200
committerChocobozzz <me@florianbigard.com>2021-06-11 14:26:37 +0200
commit20a206c3d12ad285c31411cd506cede791958322 (patch)
treea7f8dd5b4cb8978086c8d441098058a2effec450 /server/middlewares/validators
parent71d4af1efc810f853e1a0d986bf758c201692594 (diff)
downloadPeerTube-20a206c3d12ad285c31411cd506cede791958322.tar.gz
PeerTube-20a206c3d12ad285c31411cd506cede791958322.tar.zst
PeerTube-20a206c3d12ad285c31411cd506cede791958322.zip
Refactor include checks
Diffstat (limited to 'server/middlewares/validators')
-rw-r--r--server/middlewares/validators/shared/videos.ts3
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'
16import { HttpStatusCode } from '@shared/core-utils' 15import { HttpStatusCode } from '@shared/core-utils'
17import { UserRight } from '@shared/models' 16import { UserRight } from '@shared/models'