1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-10 07:06:45 +02:00

feat(console): update EntriesDeleteCommand options #543

This commit is contained in:
Awilum
2021-09-14 07:58:07 +03:00
parent 4982897d0e
commit 89836b5725

View File

@@ -28,7 +28,7 @@ class EntriesDeleteCommand extends Command
{
$io = new SymfonyStyle($input, $output);
if (entries()->delete($input->getOption('id'), $data)) {
if (entries()->delete($input->getOption('id'))) {
$io->success('Deleted entry ' . $input->getOption('id'));
return Command::SUCCESS;
} else {