Remove old Feed/FeedEpisode/FeedMeta objects

This commit is contained in:
advplyr
2024-12-15 17:54:36 -06:00
parent de8a9304d2
commit b39268ccb0
17 changed files with 84 additions and 326 deletions

View File

@@ -84,13 +84,6 @@ class Playlist extends Model {
const playlistExpanded = oldPlaylist.toJSONExpanded(libraryItems)
if (include?.includes('rssfeed')) {
const feeds = await this.getFeeds()
if (feeds?.length) {
playlistExpanded.rssFeed = this.sequelize.models.feed.getOldFeed(feeds[0])
}
}
return playlistExpanded
}