Skip to content

Commit d69c952

Browse files
akhil1508AndyScherzinger
authored andcommitted
fix: pass the user's home path to backgroundScan in ScanFiles job
Signed-off-by: Akhil <akhil@e.email>
1 parent f4f120c commit d69c952

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/files/lib/BackgroundJob/ScanFiles.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ protected function runScanner(string $user): void {
4747
$this->dispatcher,
4848
$this->logger
4949
);
50-
$scanner->backgroundScan('');
50+
$scanner->backgroundScan('/' . $user);
5151
} catch (\Exception $e) {
5252
$this->logger->error($e->getMessage(), ['exception' => $e, 'app' => 'files']);
5353
}

0 commit comments

Comments
 (0)