mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-04-23 15:39:43 +00:00
Compare commits
2 commits
d01a7cb756
...
5e5a988f7a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5e5a988f7a | ||
|
|
6d1f0b27df |
1 changed files with 2 additions and 1 deletions
|
|
@ -246,9 +246,10 @@ class MediaProgress extends Model {
|
||||||
// For local sync
|
// For local sync
|
||||||
if (progressPayload.lastUpdate) {
|
if (progressPayload.lastUpdate) {
|
||||||
this.updatedAt = progressPayload.lastUpdate
|
this.updatedAt = progressPayload.lastUpdate
|
||||||
|
this.changed('updatedAt', true)
|
||||||
}
|
}
|
||||||
|
|
||||||
return this.save()
|
return this.save({ silent: !!progressPayload.lastUpdate })
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue