Convert timeListened to int

This commit is contained in:
Rasmus Krämer 2022-04-15 12:22:00 +02:00
parent 05dff2583a
commit 09dd90e3fc
No known key found for this signature in database
GPG Key ID: EC9E510611BFDAA2

View File

@ -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()
}