From eaae084399b60d2ede737e70f6dbbb26e128f91e Mon Sep 17 00:00:00 2001 From: "Abdulmhsen B. A. A" Date: Sun, 27 Aug 2023 21:18:32 +0300 Subject: [PATCH] Fixed a bug preventing running import post config:add --- src/Commands/Config/ManageCommand.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/Commands/Config/ManageCommand.php b/src/Commands/Config/ManageCommand.php index a538135d..5d543a1b 100644 --- a/src/Commands/Config/ManageCommand.php +++ b/src/Commands/Config/ManageCommand.php @@ -185,7 +185,7 @@ final class ManageCommand extends Command ------------------ WARNING: If this backend is new and does not have your correct watch/play state, then YOU MUST answer with no. If the date on movies/episodes is newer than your recorded watch/play date, it will - override that. Select no, and export your current watch/play state and then you can re-enable this option. + override that. Select no, and export your current watch/play state, and then you can re-enable this option. ------------------ For more information please read the FAQ. HELP. PHP_EOL . '> ', @@ -440,7 +440,14 @@ final class ManageCommand extends Command ]) ); $cmd = $this->getApplication()?->find(ImportCommand::ROUTE); - $cmd->run(new ArrayInput(['--quiet', '--select-backends' => $name]), $output); + $cmd->run( + new ArrayInput([ + '--quiet', + '--config' => $config, + '--select-backends' => $name + ]), + $output + ); } $output->writeln('Import complete');