Add body to Enqueue command

This commit is contained in:
Juan Pablo Vial
2025-05-29 17:40:45 -04:00
parent ace205798f
commit 3f8adc753c

View File

@ -19,6 +19,7 @@ class Enqueue extends Command
$body = ['venta_ids' => explode('|', $input->getArgument('venta_ids'))];
$response = $this->client->post($uri, ['json' => $body]);
$output->writeln("Response Code: {$response->getStatusCode()}");
$output->writeln($response->getBody()->getContents());
return Console\Command\Command::SUCCESS;
}
}