Skip to content

Commit

Permalink
Merge pull request #49843 from nextcloud/fix/files_external_scan
Browse files Browse the repository at this point in the history
  • Loading branch information
Altahrim authored Dec 13, 2024
2 parents fef721e + 12452f7 commit 10852d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/files_external/lib/Command/StorageAuthBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ private function getPasswordOption(InputInterface $input): ?string {
protected function createStorage(InputInterface $input, OutputInterface $output): array {
try {
/** @var StorageConfig|null $mount */
$mount = $this->globalService->getStorage($input->getArgument('mount_id'));
$mount = $this->globalService->getStorage((int)$input->getArgument('mount_id'));
} catch (NotFoundException $e) {
$output->writeln('<error>Mount not found</error>');
return [null, null];
Expand Down

0 comments on commit 10852d3

Please sign in to comment.