diff --git a/apps/files/lib/BackgroundJob/ScanFiles.php b/apps/files/lib/BackgroundJob/ScanFiles.php index f3f9093d64819..69d8875bf4780 100644 --- a/apps/files/lib/BackgroundJob/ScanFiles.php +++ b/apps/files/lib/BackgroundJob/ScanFiles.php @@ -47,7 +47,7 @@ protected function runScanner(string $user): void { $this->dispatcher, $this->logger ); - $scanner->backgroundScan(''); + $scanner->backgroundScan('/' . $user); } catch (\Exception $e) { $this->logger->error($e->getMessage(), ['exception' => $e, 'app' => 'files']); }