diff options
Diffstat (limited to 'server/controllers/api/index.ts')
-rw-r--r-- | server/controllers/api/index.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/controllers/api/index.ts b/server/controllers/api/index.ts index d1d4ef765..8c8ebd061 100644 --- a/server/controllers/api/index.ts +++ b/server/controllers/api/index.ts | |||
@@ -20,6 +20,7 @@ import { usersRouter } from './users' | |||
20 | import { videoChannelRouter } from './video-channel' | 20 | import { videoChannelRouter } from './video-channel' |
21 | import { videoPlaylistRouter } from './video-playlist' | 21 | import { videoPlaylistRouter } from './video-playlist' |
22 | import { videosRouter } from './videos' | 22 | import { videosRouter } from './videos' |
23 | import { videoChannelSyncRouter } from './video-channel-sync' | ||
23 | 24 | ||
24 | const apiRouter = express.Router() | 25 | const apiRouter = express.Router() |
25 | 26 | ||
@@ -43,6 +44,7 @@ apiRouter.use('/config', configRouter) | |||
43 | apiRouter.use('/users', usersRouter) | 44 | apiRouter.use('/users', usersRouter) |
44 | apiRouter.use('/accounts', accountsRouter) | 45 | apiRouter.use('/accounts', accountsRouter) |
45 | apiRouter.use('/video-channels', videoChannelRouter) | 46 | apiRouter.use('/video-channels', videoChannelRouter) |
47 | apiRouter.use('/video-channel-syncs', videoChannelSyncRouter) | ||
46 | apiRouter.use('/video-playlists', videoPlaylistRouter) | 48 | apiRouter.use('/video-playlists', videoPlaylistRouter) |
47 | apiRouter.use('/videos', videosRouter) | 49 | apiRouter.use('/videos', videosRouter) |
48 | apiRouter.use('/jobs', jobsRouter) | 50 | apiRouter.use('/jobs', jobsRouter) |