aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/middlewares/validators/videos
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-02-25 15:00:43 +0100
committerChocobozzz <me@florianbigard.com>2021-02-25 15:01:29 +0100
commit031ea8efed6979cb01d0a7857cea6aa27270ceb7 (patch)
treed5f7a82b44b239abbb9a53d5d74b702514c5c2d3 /server/middlewares/validators/videos
parentd61893f7236abbed30c25b1823e6ecad93a8e8dd (diff)
downloadPeerTube-031ea8efed6979cb01d0a7857cea6aa27270ceb7.tar.gz
PeerTube-031ea8efed6979cb01d0a7857cea6aa27270ceb7.tar.zst
PeerTube-031ea8efed6979cb01d0a7857cea6aa27270ceb7.zip
Use named chunk for embed on analyze
Diffstat (limited to 'server/middlewares/validators/videos')
-rw-r--r--server/middlewares/validators/videos/videos.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/middlewares/validators/videos/videos.ts b/server/middlewares/validators/videos/videos.ts
index d51c86972..37cc07b94 100644
--- a/server/middlewares/validators/videos/videos.ts
+++ b/server/middlewares/validators/videos/videos.ts
@@ -3,7 +3,7 @@ import { body, param, query, ValidationChain } from 'express-validator'
3import { isAbleToUploadVideo } from '@server/lib/user' 3import { isAbleToUploadVideo } from '@server/lib/user'
4import { getServerActor } from '@server/models/application/application' 4import { getServerActor } from '@server/models/application/application'
5import { ExpressPromiseHandler } from '@server/types/express' 5import { ExpressPromiseHandler } from '@server/types/express'
6import { MVideoFullLight, MVideoWithRights } from '@server/types/models' 6import { MVideoWithRights } from '@server/types/models'
7import { ServerErrorCode, UserRight, VideoChangeOwnershipStatus, VideoPrivacy } from '../../../../shared' 7import { ServerErrorCode, UserRight, VideoChangeOwnershipStatus, VideoPrivacy } from '../../../../shared'
8import { HttpStatusCode } from '../../../../shared/core-utils/miscs/http-error-codes' 8import { HttpStatusCode } from '../../../../shared/core-utils/miscs/http-error-codes'
9import { VideoChangeOwnershipAccept } from '../../../../shared/models/videos/video-change-ownership-accept.model' 9import { VideoChangeOwnershipAccept } from '../../../../shared/models/videos/video-change-ownership-accept.model'