diff options
Diffstat (limited to 'server/controllers/api/videos/index.ts')
-rw-r--r-- | server/controllers/api/videos/index.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/controllers/api/videos/index.ts b/server/controllers/api/videos/index.ts index be803490b..0c9e6c2d1 100644 --- a/server/controllers/api/videos/index.ts +++ b/server/controllers/api/videos/index.ts | |||
@@ -49,6 +49,7 @@ import { abuseVideoRouter } from './abuse' | |||
49 | import { blacklistRouter } from './blacklist' | 49 | import { blacklistRouter } from './blacklist' |
50 | import { videoCommentRouter } from './comment' | 50 | import { videoCommentRouter } from './comment' |
51 | import { rateVideoRouter } from './rate' | 51 | import { rateVideoRouter } from './rate' |
52 | import { ownershipVideoRouter } from './ownership' | ||
52 | import { VideoFilter } from '../../../../shared/models/videos/video-query.type' | 53 | import { VideoFilter } from '../../../../shared/models/videos/video-query.type' |
53 | import { buildNSFWFilter, createReqFiles } from '../../../helpers/express-utils' | 54 | import { buildNSFWFilter, createReqFiles } from '../../../helpers/express-utils' |
54 | import { ScheduleVideoUpdateModel } from '../../../models/video/schedule-video-update' | 55 | import { ScheduleVideoUpdateModel } from '../../../models/video/schedule-video-update' |
@@ -84,6 +85,7 @@ videosRouter.use('/', rateVideoRouter) | |||
84 | videosRouter.use('/', videoCommentRouter) | 85 | videosRouter.use('/', videoCommentRouter) |
85 | videosRouter.use('/', videoCaptionsRouter) | 86 | videosRouter.use('/', videoCaptionsRouter) |
86 | videosRouter.use('/', videoImportsRouter) | 87 | videosRouter.use('/', videoImportsRouter) |
88 | videosRouter.use('/', ownershipVideoRouter) | ||
87 | 89 | ||
88 | videosRouter.get('/categories', listVideoCategories) | 90 | videosRouter.get('/categories', listVideoCategories) |
89 | videosRouter.get('/licences', listVideoLicences) | 91 | videosRouter.get('/licences', listVideoLicences) |