mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2024-12-27 09:08:57 +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
|
||||
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