Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix(files_external): wrong type for external mount id
Signed-off-by: Benjamin Gaussorgues <[email protected]>
  • Loading branch information
Altahrim committed Dec 13, 2024
commit 12452f7f22554b823cb0d200bbe1f7a453f117f5
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
Loading