Fix error that prevents directory from being properly scanned when directory is first added

This commit is contained in:
Eric 2021-11-13 16:39:26 -05:00
parent b40f2db946
commit 60279bbdf0

View File

@ -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 });
}