mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-02 21:44:56 +02:00
Convert timeListened to int
This commit is contained in:
parent
05dff2583a
commit
09dd90e3fc
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ class PlaybackSession {
|
|||
this.dayOfWeek = date.format(new Date(), 'dddd')
|
||||
}
|
||||
|
||||
this.timeListening += timeListened
|
||||
this.timeListening += Number.parseInt(timeListened)
|
||||
this.updatedAt = Date.now()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue