diff options
Diffstat (limited to 'server/middlewares')
-rw-r--r-- | server/middlewares/validators/feeds.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/middlewares/validators/feeds.ts b/server/middlewares/validators/feeds.ts index 9673a6613..72804a259 100644 --- a/server/middlewares/validators/feeds.ts +++ b/server/middlewares/validators/feeds.ts | |||
@@ -73,7 +73,7 @@ function feedContentTypeResponse ( | |||
73 | 73 | ||
74 | // --------------------------------------------------------------------------- | 74 | // --------------------------------------------------------------------------- |
75 | 75 | ||
76 | const videoFeedsValidator = [ | 76 | const feedsAccountOrChannelFiltersValidator = [ |
77 | query('accountId') | 77 | query('accountId') |
78 | .optional() | 78 | .optional() |
79 | .custom(isIdValid), | 79 | .custom(isIdValid), |
@@ -170,7 +170,7 @@ export { | |||
170 | feedsFormatValidator, | 170 | feedsFormatValidator, |
171 | setFeedFormatContentType, | 171 | setFeedFormatContentType, |
172 | setFeedPodcastContentType, | 172 | setFeedPodcastContentType, |
173 | videoFeedsValidator, | 173 | feedsAccountOrChannelFiltersValidator, |
174 | videoFeedsPodcastValidator, | 174 | videoFeedsPodcastValidator, |
175 | videoSubscriptionFeedsValidator, | 175 | videoSubscriptionFeedsValidator, |
176 | videoFeedsPodcastSetCacheKey, | 176 | videoFeedsPodcastSetCacheKey, |