Skip to content

Commit

Permalink
Merge pull request #49846 from nextcloud/backport/49843/stable30
Browse files Browse the repository at this point in the history
  • Loading branch information
Altahrim authored Dec 13, 2024
2 parents 98187b5 + 8f779a5 commit 0475b0c
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 0475b0c

Please sign in to comment.