RSS feed for collection to update when any item in the collection is updated #606

This commit is contained in:
advplyr 2022-12-28 18:08:03 -06:00
parent 9e4bc582cb
commit 315c83e4c3
4 changed files with 24 additions and 10 deletions

View file

@ -136,11 +136,11 @@ class Book {
}
update(payload) {
var json = this.toJSON()
const json = this.toJSON()
delete json.audiobooks // do not update media entities here
delete json.ebooks
var hasUpdates = false
let hasUpdates = false
for (const key in json) {
if (payload[key] !== undefined) {
if (key === 'metadata') {