mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-12-01 20:54:06 +01:00
Remove series search api endpoint, update authors and series to load from db
This commit is contained in:
1 parent
7567e91878
commit
9123dcb365
10 files changed
+79
-53
No files matched your search
@@ -9,7 +9,7 @@ class RSSFeedController {
|
||||
const feeds = await this.rssFeedManager.getFeeds()
|
||||
res.json({
|
||||
feeds: feeds.map(f => f.toJSON()),
|
||||
minified: feeds.map(f => f.toJSONMinified())
|
||||
minified: feeds.map(f => f.toJSONMinified())
|
||||
})
|
||||
}
|
||||
|
||||
@@ -88,7 +88,7 @@ class RSSFeedController {
|
||||
async openRSSFeedForSeries(req, res) {
|
||||
const options = req.body || {}
|
||||
|
||||
const series = Database.series.find(se => se.id === req.params.seriesId)
|
||||
const series = await Database.seriesModel.getOldById(req.params.seriesId)
|
||||
if (!series) return res.sendStatus(404)
|
||||
|
||||
// Check request body options exist
|
||||
|
||||
Reference in new issue
Block a user