mirror of
https://github.com/flextype/flextype.git
synced 2025-08-07 21:56:33 +02:00
feat(console): fix EntriesCopyCommand #543
This commit is contained in:
@@ -29,8 +29,6 @@ class EntriesCopyCommand extends Command
|
||||
{
|
||||
$io = new SymfonyStyle($input, $output);
|
||||
|
||||
$data = serializers()->json()->decode($input->getOption('data') ?? []);
|
||||
|
||||
if (entries()->copy($input->getOption('id'), $input->getOption('newID'))) {
|
||||
$io->success('Entry ' . $input->getOption('id') . ' coppied to ' . $input->getOption('newID'));
|
||||
return Command::SUCCESS;
|
||||
|
Reference in New Issue
Block a user