diff --git a/server/objects/Feed.js b/server/objects/Feed.js index 9e00d57c..bbc342b6 100644 --- a/server/objects/Feed.js +++ b/server/objects/Feed.js @@ -61,6 +61,15 @@ class Feed { } } + toJSONMinified() { + return { + id: this.id, + entityType: this.entityType, + entityId: this.entityId, + feedUrl: this.feedUrl + } + } + getEpisodePath(id) { var episode = this.episodes.find(ep => ep.id === id) if (!episode) return null