mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-15 17:52:25 +02:00
Fix MediaProgress not using the lastUpdate time sent for local progress syncs
This commit is contained in:
@ -246,9 +246,10 @@ class MediaProgress extends Model {
|
||||
// For local sync
|
||||
if (progressPayload.lastUpdate) {
|
||||
this.updatedAt = progressPayload.lastUpdate
|
||||
this.changed('updatedAt', true)
|
||||
}
|
||||
|
||||
return this.save()
|
||||
return this.save({ silent: !!progressPayload.lastUpdate })
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user