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 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' | |||
47 | import { updateRouter } from './update' | 47 | import { updateRouter } from './update' |
48 | import { uploadRouter } from './upload' | 48 | import { uploadRouter } from './upload' |
49 | import { viewRouter } from './view' | 49 | import { viewRouter } from './view' |
50 | import { videoPasswordRouter } from './passwords' | ||
50 | 51 | ||
51 | const auditLogger = auditLoggerFactory('videos') | 52 | const auditLogger = auditLoggerFactory('videos') |
52 | const videosRouter = express.Router() | 53 | const videosRouter = express.Router() |
@@ -68,6 +69,7 @@ videosRouter.use('/', updateRouter) | |||
68 | videosRouter.use('/', filesRouter) | 69 | videosRouter.use('/', filesRouter) |
69 | videosRouter.use('/', transcodingRouter) | 70 | videosRouter.use('/', transcodingRouter) |
70 | videosRouter.use('/', tokenRouter) | 71 | videosRouter.use('/', tokenRouter) |
72 | videosRouter.use('/', videoPasswordRouter) | ||
71 | 73 | ||
72 | videosRouter.get('/categories', | 74 | videosRouter.get('/categories', |
73 | openapiOperationDoc({ operationId: 'getCategories' }), | 75 | openapiOperationDoc({ operationId: 'getCategories' }), |