mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-11-30 12:14:06 +01:00
RSS feed for collection to update when any item in the collection is updated #606
This commit is contained in:
1 parent
9e4bc582cb
commit
315c83e4c3
4 files changed
+24
-10
No files matched your search
@@ -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') {
|
||||
|
||||
Reference in new issue
Block a user