diff --git a/app/src/Controller/API/Ventas/Facturacion.php b/app/src/Controller/API/Ventas/Facturacion.php index 14477da..759a426 100644 --- a/app/src/Controller/API/Ventas/Facturacion.php +++ b/app/src/Controller/API/Ventas/Facturacion.php @@ -28,7 +28,7 @@ class Facturacion $output['ventas'] = $this->fetchRedis($redisService, $redisKey); } catch (EmptyRedis) { try { - $output['ventas'] = $ventaService->getActivaByProyecto($proyecto_id); + $output['ventas'] = $ventaService->getIdsByProyecto($proyecto_id); $this->saveRedis($redisService, $redisKey, $output['ventas']); } catch (EmptyResult) {} }