mirror of
				https://github.com/advplyr/audiobookshelf.git
				synced 2025-10-27 11:18:14 +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.dayOfWeek = date.format(new Date(), 'dddd')
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    this.timeListening += timeListened
 | 
					    this.timeListening += Number.parseInt(timeListened)
 | 
				
			||||||
    this.updatedAt = Date.now()
 | 
					    this.updatedAt = Date.now()
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user