Skip to content

Commit

Permalink
Fix:Get all collections API endpoint crashing server advplyr#3372
Browse files Browse the repository at this point in the history
  • Loading branch information
advplyr authored and nichwall committed Sep 13, 2024
1 parent 8d97fdd commit 0ea23b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/models/Collection.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
})
Expand Down

0 comments on commit 0ea23b5

Please sign in to comment.