mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-01-02 20:19:10 +01:00
Convert timeListened to int
This commit is contained in:
parent
05dff2583a
commit
09dd90e3fc
@ -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…
Reference in New Issue
Block a user