mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
fix(files_external): wrong type for external mount id
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
This commit is contained in:
parent
fef721e641
commit
12452f7f22
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ abstract class StorageAuthBase extends Base {
|
|||
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];
|
||||
|
|
|
|||
Loading…
Reference in a new issue