This commit is contained in:
Juan Pablo Vial
2025-09-15 18:45:37 -03:00
parent e7a86e37e0
commit b2e0031422

View File

@ -99,13 +99,13 @@ class Subscription extends AbstractEndPoint
public function queue(int $venta_id): bool public function queue(int $venta_id): bool
{ {
try { try {
$venta = $this->ventaService->getById($venta_id); $this->ventaService->getById($venta_id);
} catch (Read $exception) { } catch (Read $exception) {
$this->logger->warning($exception); $this->logger->warning($exception);
return false; return false;
} }
try { try {
$subscription = $this->subscriptionRepsitory->fetchByVenta($venta_id); $this->subscriptionRepsitory->fetchByVenta($venta_id);
return false; return false;
} catch (EmptyResult) { } catch (EmptyResult) {
return true; return true;