From 3e48f8d6db88364884f69fc7d3dc379e8a979e9d Mon Sep 17 00:00:00 2001 From: Juan Felipe Zapata Moreno Date: Thu, 4 Dec 2025 15:59:49 -0600 Subject: [PATCH] =?UTF-8?q?Correci=C3=B3n=20modulos?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Http/Controllers/Repuve/ModuleController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/Repuve/ModuleController.php b/app/Http/Controllers/Repuve/ModuleController.php index ac9db10..d9aa95b 100644 --- a/app/Http/Controllers/Repuve/ModuleController.php +++ b/app/Http/Controllers/Repuve/ModuleController.php @@ -26,7 +26,7 @@ public function index(Request $request) 'municipality:id,code,name', 'users:id,name,paternal,maternal,email,module_id', 'users.roles:id,name,description' - ])->withCount(['packages']); + ]); // Filtro por nombre if ($request->filled('name')) { @@ -111,7 +111,7 @@ public function show($id) 'municipality:id,code,name', 'users:id,name,paternal,maternal,email,module_id', 'users.roles:id,name,description' - ])->withCount(['packages'])->find($id); + ])->find($id); return ApiResponse::OK->response([ 'module' => $modules,