diff --git a/server/controllers/LibraryController.js b/server/controllers/LibraryController.js index 1e078c9f7..7fdf20853 100644 --- a/server/controllers/LibraryController.js +++ b/server/controllers/LibraryController.js @@ -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)