diff options
Diffstat (limited to 'server/controllers/feeds/video-feeds.ts')
-rw-r--r-- | server/controllers/feeds/video-feeds.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/controllers/feeds/video-feeds.ts b/server/controllers/feeds/video-feeds.ts index 97ac594ec..e5941be40 100644 --- a/server/controllers/feeds/video-feeds.ts +++ b/server/controllers/feeds/video-feeds.ts | |||
@@ -12,7 +12,7 @@ import { | |||
12 | feedsFormatValidator, | 12 | feedsFormatValidator, |
13 | setDefaultVideosSort, | 13 | setDefaultVideosSort, |
14 | setFeedFormatContentType, | 14 | setFeedFormatContentType, |
15 | videoFeedsValidator, | 15 | feedsAccountOrChannelFiltersValidator, |
16 | videosSortValidator, | 16 | videosSortValidator, |
17 | videoSubscriptionFeedsValidator | 17 | videoSubscriptionFeedsValidator |
18 | } from '../../middlewares' | 18 | } from '../../middlewares' |
@@ -33,7 +33,7 @@ videoFeedsRouter.get('/videos.:format', | |||
33 | setFeedFormatContentType, | 33 | setFeedFormatContentType, |
34 | cacheRouteMiddleware(ROUTE_CACHE_LIFETIME.FEEDS), | 34 | cacheRouteMiddleware(ROUTE_CACHE_LIFETIME.FEEDS), |
35 | commonVideosFiltersValidator, | 35 | commonVideosFiltersValidator, |
36 | asyncMiddleware(videoFeedsValidator), | 36 | asyncMiddleware(feedsAccountOrChannelFiltersValidator), |
37 | asyncMiddleware(generateVideoFeed) | 37 | asyncMiddleware(generateVideoFeed) |
38 | ) | 38 | ) |
39 | 39 | ||