mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-10 19:31:39 +00:00
Fix:Get all collections API endpoint crashing server #3372
This commit is contained in:
parent
8d97fdd158
commit
0ea23b5031
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ class Collection extends Model {
|
|||
|
||||
// Optionally include rssfeed for collection
|
||||
const collectionIncludes = []
|
||||
if (include.includes('rssfeed')) {
|
||||
if (include?.includes('rssfeed')) {
|
||||
collectionIncludes.push({
|
||||
model: this.sequelize.models.feed
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue