diff options
Diffstat (limited to 'server/controllers/api/videos/blacklist.ts')
-rw-r--r-- | server/controllers/api/videos/blacklist.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/controllers/api/videos/blacklist.ts b/server/controllers/api/videos/blacklist.ts index c9087fd97..7eee460d4 100644 --- a/server/controllers/api/videos/blacklist.ts +++ b/server/controllers/api/videos/blacklist.ts | |||
@@ -3,7 +3,7 @@ import { BlacklistedVideo, UserRight } from '../../../../shared' | |||
3 | import { logger } from '../../../helpers/logger' | 3 | import { logger } from '../../../helpers/logger' |
4 | import { getFormattedObjects } from '../../../helpers/utils' | 4 | import { getFormattedObjects } from '../../../helpers/utils' |
5 | import { | 5 | import { |
6 | asyncMiddleware, authenticate, blacklistSortValidator, ensureUserHasRight, paginationValidator, setBlacklistSort, setPagination, | 6 | asyncMiddleware, authenticate, blacklistSortValidator, ensureUserHasRight, paginationValidator, setBlacklistSort, setDefaultPagination, |
7 | videosBlacklistAddValidator, videosBlacklistRemoveValidator | 7 | videosBlacklistAddValidator, videosBlacklistRemoveValidator |
8 | } from '../../../middlewares' | 8 | } from '../../../middlewares' |
9 | import { VideoBlacklistModel } from '../../../models/video/video-blacklist' | 9 | import { VideoBlacklistModel } from '../../../models/video/video-blacklist' |
@@ -23,7 +23,7 @@ blacklistRouter.get('/blacklist', | |||
23 | paginationValidator, | 23 | paginationValidator, |
24 | blacklistSortValidator, | 24 | blacklistSortValidator, |
25 | setBlacklistSort, | 25 | setBlacklistSort, |
26 | setPagination, | 26 | setDefaultPagination, |
27 | asyncMiddleware(listBlacklist) | 27 | asyncMiddleware(listBlacklist) |
28 | ) | 28 | ) |
29 | 29 | ||