mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-06-22 08:53:41 +02:00
Update for filesystem and libraries api update and revert personalized shelves route
This commit is contained in:
parent
5c31687a0f
commit
eede2bbd46
2 changed files with 4 additions and 6 deletions
|
@ -467,9 +467,7 @@ class LibraryController {
|
|||
const limitPerShelf = req.query.limit && !isNaN(req.query.limit) ? Number(req.query.limit) : 10
|
||||
|
||||
const categories = libraryHelpers.buildPersonalizedShelves(req.user, libraryItems, mediaType, this.db.series, this.db.authors, limitPerShelf)
|
||||
res.json({
|
||||
shelves: categories
|
||||
})
|
||||
res.json(categories)
|
||||
}
|
||||
|
||||
// PATCH: Change the order of libraries
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue