From 4d80f2d013ebb46178c8416ec5bcacbbce03655c Mon Sep 17 00:00:00 2001 From: marsalva Date: Sun, 29 Mar 2026 21:27:13 +0000 Subject: [PATCH] Actualizar presupuestos.html --- presupuestos.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/presupuestos.html b/presupuestos.html index 2cd9864..6b8096c 100644 --- a/presupuestos.html +++ b/presupuestos.html @@ -721,7 +721,7 @@ try { // Descargamos las averías desde el dashboard del técnico - const res = await fetch(`${API_URL}/dashboard`, { headers: { "Authorization": `Bearer ${localStorage.getItem("token")}` } }); + const res = await fetch(`${API_URL}/services/active`, { headers: { "Authorization": `Bearer ${localStorage.getItem("token")}` } }); const data = await res.json(); if(data.ok && data.services) { const dayServices = data.services.filter(s => s.scheduled_date === dateStr && s.status !== 'archived');