Parametros correctos

This commit is contained in:
Juan Pablo Vial
2025-06-03 16:06:14 -04:00
parent d4b1a66a9e
commit 688b500f1e

View File

@ -20,7 +20,7 @@ class Reset extends Command
$venta_ids = $input->getOption('venta_ids');
$body = [];
if (!empty($venta_ids)) {
$body = ['venta_ids' => explode('|', $input->getOption('venta_ids'))];
$body = ['skips' => ['subscription' => explode('|', $venta_ids)]];
}
$options = count($body) > 0 ? ['json' => $body] : [];
$response = $this->client->delete($uri, $options);