mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2024-12-29 18:19:06 +01:00
Merge pull request #1211 from lkiesow/started-at
Fix startedAt in progress API
This commit is contained in:
commit
097f9549b1
@ -68,7 +68,7 @@ class MediaProgress {
|
||||
this.finishedAt = progress.finishedAt || Date.now()
|
||||
this.progress = 1
|
||||
}
|
||||
this.startedAt = this.finishedAt || Date.now()
|
||||
this.startedAt = progress.startedAt || this.finishedAt || Date.now()
|
||||
}
|
||||
|
||||
update(payload) {
|
||||
|
Loading…
Reference in New Issue
Block a user