mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-03-13 02:19:46 +01:00
Fix:Setting file ownership for /config and /metadata/logs #584
This commit is contained in:
@@ -22,8 +22,6 @@ const Series = require('../objects/entities/Series')
|
||||
|
||||
class Scanner {
|
||||
constructor(db, coverManager) {
|
||||
this.ScanLogPath = Path.posix.join(global.MetadataPath, 'logs', 'scans')
|
||||
|
||||
this.db = db
|
||||
this.coverManager = coverManager
|
||||
|
||||
@@ -165,7 +163,7 @@ class Scanner {
|
||||
SocketAuthority.emitter('scan_complete', libraryScan.getScanEmitData)
|
||||
|
||||
if (libraryScan.totalResults) {
|
||||
libraryScan.saveLog(this.ScanLogPath)
|
||||
libraryScan.saveLog()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user