aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api/video-channel.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/controllers/api/video-channel.ts')
-rw-r--r--server/controllers/api/video-channel.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/controllers/api/video-channel.ts b/server/controllers/api/video-channel.ts
index c6d144f79..cdafa31dc 100644
--- a/server/controllers/api/video-channel.ts
+++ b/server/controllers/api/video-channel.ts
@@ -19,6 +19,7 @@ import { JobQueue } from '../../lib/job-queue'
19import { deleteLocalActorImageFile, updateLocalActorImageFiles } from '../../lib/local-actor' 19import { deleteLocalActorImageFile, updateLocalActorImageFiles } from '../../lib/local-actor'
20import { createLocalVideoChannel, federateAllVideosOfChannel } from '../../lib/video-channel' 20import { createLocalVideoChannel, federateAllVideosOfChannel } from '../../lib/video-channel'
21import { 21import {
22 apiRateLimiter,
22 asyncMiddleware, 23 asyncMiddleware,
23 asyncRetryTransactionMiddleware, 24 asyncRetryTransactionMiddleware,
24 authenticate, 25 authenticate,
@@ -57,6 +58,8 @@ const reqBannerFile = createReqFiles([ 'bannerfile' ], MIMETYPES.IMAGE.MIMETYPE_
57 58
58const videoChannelRouter = express.Router() 59const videoChannelRouter = express.Router()
59 60
61videoChannelRouter.use(apiRateLimiter)
62
60videoChannelRouter.get('/', 63videoChannelRouter.get('/',
61 paginationValidator, 64 paginationValidator,
62 videoChannelsSortValidator, 65 videoChannelsSortValidator,