diff --git a/src/routes/cases.index.tsx b/src/routes/cases.index.tsx index 69aefe8..0d7d752 100644 --- a/src/routes/cases.index.tsx +++ b/src/routes/cases.index.tsx @@ -255,7 +255,7 @@ function CasesList() { const { data, error } = await supabase .from("cases") .update({ - status: assignStatus, + status: assignStatus as "active" | "closed" | "closed_lost" | "closed_won" | "intake" | "on_hold", closed_at: isClosed ? new Date().toISOString().slice(0, 10) : null, }) .in("id", ids)