Parametros correctos
This commit is contained in:
@ -20,7 +20,7 @@ class Reset extends Command
|
|||||||
$venta_ids = $input->getOption('venta_ids');
|
$venta_ids = $input->getOption('venta_ids');
|
||||||
$body = [];
|
$body = [];
|
||||||
if (!empty($venta_ids)) {
|
if (!empty($venta_ids)) {
|
||||||
$body = ['venta_ids' => explode('|', $input->getOption('venta_ids'))];
|
$body = ['skips' => ['subscription' => explode('|', $venta_ids)]];
|
||||||
}
|
}
|
||||||
$options = count($body) > 0 ? ['json' => $body] : [];
|
$options = count($body) > 0 ? ['json' => $body] : [];
|
||||||
$response = $this->client->delete($uri, $options);
|
$response = $this->client->delete($uri, $options);
|
||||||
|
Reference in New Issue
Block a user