Update get all feeds route to be admin-only, map translation strings

This commit is contained in:
advplyr committed 2023-08-22 16:37:22 -05:00
1 parent 24989e73ae
commit 469167df66
15 files changed
+60 -18

No files matched your search

+1 -1
View File
@@ -298,7 +298,7 @@ class ApiRouter {
//
// RSS Feed Routes (Admin and up)
//
this.router.get('/feeds', RSSFeedController.getAll.bind(this))
this.router.get('/feeds', RSSFeedController.middleware.bind(this), RSSFeedController.getAll.bind(this))
this.router.post('/feeds/item/:itemId/open', RSSFeedController.middleware.bind(this), RSSFeedController.openRSSFeedForItem.bind(this))
this.router.post('/feeds/collection/:collectionId/open', RSSFeedController.middleware.bind(this), RSSFeedController.openRSSFeedForCollection.bind(this))
this.router.post('/feeds/series/:seriesId/open', RSSFeedController.middleware.bind(this), RSSFeedController.openRSSFeedForSeries.bind(this))