mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-12 20:31:36 +00:00
Fix: response for library collections
This commit is contained in:
parent
c9832cab99
commit
6525ccaa50
1 changed files with 4 additions and 3 deletions
|
|
@ -551,9 +551,10 @@ class LibraryController {
|
|||
* content:
|
||||
* application/json:
|
||||
* schema:
|
||||
* type: array
|
||||
* items:
|
||||
* $ref: '#/components/schemas/collectionExpanded'
|
||||
* results:
|
||||
* type: array
|
||||
* items:
|
||||
* $ref: '#/components/schemas/collectionExpanded'
|
||||
*/
|
||||
async getCollectionsForLibrary(req, res) {
|
||||
const include = (req.query.include || '').split(',').map(v => v.trim().toLowerCase()).filter(v => !!v)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue