mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-01-03 00:06:46 +01:00
Fix:Get all collections API endpoint crashing server #3372
This commit is contained in:
parent
5ec8406653
commit
84b67abb03
@ -38,7 +38,7 @@ class Collection extends Model {
|
|||||||
|
|
||||||
// Optionally include rssfeed for collection
|
// Optionally include rssfeed for collection
|
||||||
const collectionIncludes = []
|
const collectionIncludes = []
|
||||||
if (include.includes('rssfeed')) {
|
if (include?.includes('rssfeed')) {
|
||||||
collectionIncludes.push({
|
collectionIncludes.push({
|
||||||
model: this.sequelize.models.feed
|
model: this.sequelize.models.feed
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user