From 9ba1e710415873cb6e8b59b93b7a5abc16c224a9 Mon Sep 17 00:00:00 2001 From: dahoud Date: Wed, 15 Oct 2025 20:42:19 +0000 Subject: [PATCH] fix: Convert phase.id to Number for phaseChantierService.resume call --- app/(main)/phases-chantier/retard/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/(main)/phases-chantier/retard/page.tsx b/app/(main)/phases-chantier/retard/page.tsx index 192b713..e3126f4 100644 --- a/app/(main)/phases-chantier/retard/page.tsx +++ b/app/(main)/phases-chantier/retard/page.tsx @@ -231,7 +231,7 @@ const PhasesEnRetardPage: Page = () => { const relancerPhase = async (phase: PhaseChantier) => { try { if (phase.id) { - await phaseChantierService.resume(phase.id); + await phaseChantierService.resume(Number(phase.id)); await loadPhasesEnRetard(); toast.current?.show({ severity: 'success',