mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-31 08:14:40 +02:00
Merge pull request #1211 from lkiesow/started-at
Fix startedAt in progress API
This commit is contained in:
commit
097f9549b1
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue