feature/cierres #42

Merged
aldarien merged 13 commits from feature/cierres into develop 2025-09-23 15:41:32 -03:00
4 changed files with 60 additions and 36 deletions
Showing only changes of commit b2e0031422 - Show all commits

View File

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