mirror of
				https://github.com/advplyr/audiobookshelf.git
				synced 2025-11-03 19:07:00 -05:00 
			
		
		
		
	Fix db migration
This commit is contained in:
		
							parent
							
								
									755e70b4a9
								
							
						
					
					
						commit
						08e648a3bc
					
				@ -24,7 +24,7 @@ class Audiobook {
 | 
				
			|||||||
    this.name = audiobook.name || null
 | 
					    this.name = audiobook.name || null
 | 
				
			||||||
    this.audioFiles = audiobook.audioFiles.map(f => new AudioFile(f))
 | 
					    this.audioFiles = audiobook.audioFiles.map(f => new AudioFile(f))
 | 
				
			||||||
    this.chapters = audiobook.chapters.map(c => ({ ...c }))
 | 
					    this.chapters = audiobook.chapters.map(c => ({ ...c }))
 | 
				
			||||||
    this.missingParts = audiobook.missingParts ? [...book.missingParts] : []
 | 
					    this.missingParts = audiobook.missingParts ? [...audiobook.missingParts] : []
 | 
				
			||||||
    this.addedAt = audiobook.addedAt
 | 
					    this.addedAt = audiobook.addedAt
 | 
				
			||||||
    this.updatedAt = audiobook.updatedAt
 | 
					    this.updatedAt = audiobook.updatedAt
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user