aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api/accounts.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/controllers/api/accounts.ts')
-rw-r--r--server/controllers/api/accounts.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/controllers/api/accounts.ts b/server/controllers/api/accounts.ts
index 2d86d393c..96f36bf6f 100644
--- a/server/controllers/api/accounts.ts
+++ b/server/controllers/api/accounts.ts
@@ -9,6 +9,7 @@ import { getFormattedObjects } from '../../helpers/utils'
9import { JobQueue } from '../../lib/job-queue' 9import { JobQueue } from '../../lib/job-queue'
10import { Hooks } from '../../lib/plugins/hooks' 10import { Hooks } from '../../lib/plugins/hooks'
11import { 11import {
12 apiRateLimiter,
12 asyncMiddleware, 13 asyncMiddleware,
13 authenticate, 14 authenticate,
14 commonVideosFiltersValidator, 15 commonVideosFiltersValidator,
@@ -41,6 +42,8 @@ import { VideoPlaylistModel } from '../../models/video/video-playlist'
41 42
42const accountsRouter = express.Router() 43const accountsRouter = express.Router()
43 44
45accountsRouter.use(apiRateLimiter)
46
44accountsRouter.get('/', 47accountsRouter.get('/',
45 paginationValidator, 48 paginationValidator,
46 accountsSortValidator, 49 accountsSortValidator,