mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-01-03 00:06:46 +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.finishedAt = progress.finishedAt || Date.now()
|
||||||
this.progress = 1
|
this.progress = 1
|
||||||
}
|
}
|
||||||
this.startedAt = this.finishedAt || Date.now()
|
this.startedAt = progress.startedAt || this.finishedAt || Date.now()
|
||||||
}
|
}
|
||||||
|
|
||||||
update(payload) {
|
update(payload) {
|
||||||
|
Loading…
Reference in New Issue
Block a user