Remove invalid RSS feeds on init and remove feeds when associated entity is removed

This commit is contained in:
advplyr 2022-12-31 14:08:34 -06:00
parent 0e6b0d3eff
commit c6763dee2d
5 changed files with 67 additions and 21 deletions

View file

@ -87,7 +87,7 @@ class Feed {
this.id = slug
this.slug = slug
this.userId = userId
this.entityType = 'item'
this.entityType = 'libraryItem'
this.entityId = libraryItem.id
this.entityUpdatedAt = libraryItem.updatedAt
this.coverPath = media.coverPath || null