mirror of
https://github.com/IrosTheBeggar/mStream.git
synced 2025-10-27 07:31:02 +00:00
Fix error that prevents directory from being properly scanned when directory is first added
This commit is contained in:
parent
b40f2db946
commit
60279bbdf0
@ -146,7 +146,7 @@ exports.setup = (mstream) => {
|
||||
res.json({});
|
||||
|
||||
try {
|
||||
dbQueue.scanVPath(input.vpath);
|
||||
dbQueue.scanVPath(input.value.vpath);
|
||||
}catch (err) {
|
||||
winston.error('/api/v1/admin/directory failed to add ', { stack: err });
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user