mirror of
https://github.com/nextcloud/server.git
synced 2026-05-26 03:04:35 -04:00
Merge pull request #52209 from nextcloud/fix/files-external-notify-mount-id-stable28
[stable28] fix: cast mount_id type in files_external:notify command
This commit is contained in:
commit
7a91dcdca4
1 changed files with 1 additions and 1 deletions
|
|
@ -114,7 +114,7 @@ class Notify extends Base {
|
|||
}
|
||||
|
||||
protected function execute(InputInterface $input, OutputInterface $output): int {
|
||||
$mount = $this->globalService->getStorage($input->getArgument('mount_id'));
|
||||
$mount = $this->globalService->getStorage((int)$input->getArgument('mount_id'));
|
||||
if (is_null($mount)) {
|
||||
$output->writeln('<error>Mount not found</error>');
|
||||
return self::FAILURE;
|
||||
|
|
|
|||
Loading…
Reference in a new issue