mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2024-12-29 01:58:49 +01:00
Fix ab undefined
This commit is contained in:
parent
82241fd2f2
commit
759be593b6
@ -24,6 +24,7 @@ class Scanner {
|
||||
// TEMP - fix relative file paths
|
||||
if (this.audiobooks.length) {
|
||||
for (let i = 0; i < this.audiobooks.length; i++) {
|
||||
var ab = this.audiobooks[i]
|
||||
if (ab.fixRelativePath(this.AudiobookPath)) {
|
||||
await this.db.updateAudiobook(ab)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user