aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api/videos/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/controllers/api/videos/index.ts')
-rw-r--r--server/controllers/api/videos/index.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/controllers/api/videos/index.ts b/server/controllers/api/videos/index.ts
index a34325e79..d0eecf812 100644
--- a/server/controllers/api/videos/index.ts
+++ b/server/controllers/api/videos/index.ts
@@ -47,6 +47,7 @@ import { transcodingRouter } from './transcoding'
47import { updateRouter } from './update' 47import { updateRouter } from './update'
48import { uploadRouter } from './upload' 48import { uploadRouter } from './upload'
49import { viewRouter } from './view' 49import { viewRouter } from './view'
50import { videoPasswordRouter } from './passwords'
50 51
51const auditLogger = auditLoggerFactory('videos') 52const auditLogger = auditLoggerFactory('videos')
52const videosRouter = express.Router() 53const videosRouter = express.Router()
@@ -68,6 +69,7 @@ videosRouter.use('/', updateRouter)
68videosRouter.use('/', filesRouter) 69videosRouter.use('/', filesRouter)
69videosRouter.use('/', transcodingRouter) 70videosRouter.use('/', transcodingRouter)
70videosRouter.use('/', tokenRouter) 71videosRouter.use('/', tokenRouter)
72videosRouter.use('/', videoPasswordRouter)
71 73
72videosRouter.get('/categories', 74videosRouter.get('/categories',
73 openapiOperationDoc({ operationId: 'getCategories' }), 75 openapiOperationDoc({ operationId: 'getCategories' }),