Merge pull request #4326 from advplyr/fix_mediaprogress_updatedat

Fix MediaProgress not using the lastUpdate time sent for local progress syncs
This commit is contained in:
advplyr
2025-05-22 17:43:31 -05:00
committed by GitHub

View File

@@ -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 })
}
}