diff options
author | Chocobozzz <me@florianbigard.com> | 2023-07-26 10:08:24 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-07-26 10:08:24 +0200 |
commit | d7c36709452280a8fe2a0354dac7073e1cded9a5 (patch) | |
tree | 0d726729bf4f15f2e1ff1f159ef200331584f368 /server/middlewares | |
parent | 053ed7f5e638621ea474c77e0e244df0b3682889 (diff) | |
download | PeerTube-d7c36709452280a8fe2a0354dac7073e1cded9a5.tar.gz PeerTube-d7c36709452280a8fe2a0354dac7073e1cded9a5.tar.zst PeerTube-d7c36709452280a8fe2a0354dac7073e1cded9a5.zip |
Fix lint
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, |