mirror of
				https://github.com/advplyr/audiobookshelf.git
				synced 2025-10-27 11:18:14 +01:00 
			
		
		
		
	Fix ab undefined
This commit is contained in:
		
							parent
							
								
									3d64115051
								
							
						
					
					
						commit
						9300a0bfb6
					
				| @ -24,6 +24,7 @@ class Scanner { | |||||||
|     // TEMP - fix relative file paths
 |     // TEMP - fix relative file paths
 | ||||||
|     if (this.audiobooks.length) { |     if (this.audiobooks.length) { | ||||||
|       for (let i = 0; i < this.audiobooks.length; i++) { |       for (let i = 0; i < this.audiobooks.length; i++) { | ||||||
|  |         var ab = this.audiobooks[i] | ||||||
|         if (ab.fixRelativePath(this.AudiobookPath)) { |         if (ab.fixRelativePath(this.AudiobookPath)) { | ||||||
|           await this.db.updateAudiobook(ab) |           await this.db.updateAudiobook(ab) | ||||||
|         } |         } | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user