mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-01-08 00:08:14 +01:00
Fix:Initialize Feed entityUpdatedAt to prevent updated RSS feed every request
This commit is contained in:
parent
d1d94c37a7
commit
01b65eb678
@ -40,6 +40,7 @@ class Feed {
|
|||||||
this.userId = feed.userId
|
this.userId = feed.userId
|
||||||
this.entityType = feed.entityType
|
this.entityType = feed.entityType
|
||||||
this.entityId = feed.entityId
|
this.entityId = feed.entityId
|
||||||
|
this.entityUpdatedAt = feed.entityUpdatedAt
|
||||||
this.coverPath = feed.coverPath
|
this.coverPath = feed.coverPath
|
||||||
this.serverAddress = feed.serverAddress
|
this.serverAddress = feed.serverAddress
|
||||||
this.feedUrl = feed.feedUrl
|
this.feedUrl = feed.feedUrl
|
||||||
@ -78,7 +79,6 @@ class Feed {
|
|||||||
|
|
||||||
getEpisodePath(id) {
|
getEpisodePath(id) {
|
||||||
var episode = this.episodes.find(ep => ep.id === id)
|
var episode = this.episodes.find(ep => ep.id === id)
|
||||||
console.log('getEpisodePath=', id, episode)
|
|
||||||
if (!episode) return null
|
if (!episode) return null
|
||||||
return episode.fullPath
|
return episode.fullPath
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user