Fix:Initialize Feed entityUpdatedAt to prevent updated RSS feed every request

This commit is contained in:
advplyr 2023-07-21 16:18:58 -05:00
parent d1d94c37a7
commit 01b65eb678

View File

@ -40,6 +40,7 @@ class Feed {
this.userId = feed.userId
this.entityType = feed.entityType
this.entityId = feed.entityId
this.entityUpdatedAt = feed.entityUpdatedAt
this.coverPath = feed.coverPath
this.serverAddress = feed.serverAddress
this.feedUrl = feed.feedUrl
@ -78,7 +79,6 @@ class Feed {
getEpisodePath(id) {
var episode = this.episodes.find(ep => ep.id === id)
console.log('getEpisodePath=', id, episode)
if (!episode) return null
return episode.fullPath
}