mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-12-09 21:39:37 +00:00
Fix:Setting file ownership for /config and /metadata/logs #584
This commit is contained in:
parent
793cc989de
commit
d130dd6d5e
4 changed files with 43 additions and 23 deletions
|
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue