mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-06 07:25:03 +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.dayOfWeek = date.format(new Date(), 'dddd')
|
||||||
}
|
}
|
||||||
|
|
||||||
this.timeListening += timeListened
|
this.timeListening += Number.parseInt(timeListened)
|
||||||
this.updatedAt = Date.now()
|
this.updatedAt = Date.now()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue