mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-02-20 13:53:19 +01:00
Convert timeListened to int
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user