Update collection API routes to load libraryItems from DB

This commit is contained in:
advplyr 2023-08-12 15:01:27 -05:00
parent 38029d1202
commit db80cec168
8 changed files with 344 additions and 139 deletions

View file

@ -45,7 +45,7 @@ class RSSFeedController {
async openRSSFeedForCollection(req, res) {
const options = req.body || {}
const collection = await Database.models.collection.getById(req.params.collectionId)
const collection = await Database.models.collection.getOldById(req.params.collectionId)
if (!collection) return res.sendStatus(404)
// Check request body options exist