From a74ad96c06d0998415a27d90864dcd8607d13500 Mon Sep 17 00:00:00 2001 From: zwlucas Date: Wed, 2 Apr 2025 00:16:18 -0300 Subject: new results page --- app/obrigado/page.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'app/obrigado') diff --git a/app/obrigado/page.tsx b/app/obrigado/page.tsx index 7805719..173436b 100644 --- a/app/obrigado/page.tsx +++ b/app/obrigado/page.tsx @@ -35,12 +35,13 @@ export default function ObrigadoPage() { const saveVote = async () => { try { const supabase = getSupabaseClient(); - + + const optionRegistered = option === "NULO" ? "SIE" : option; const { error } = await supabase.from("votes").insert([ { rm, name, - option, + option: optionRegistered, }, ]); -- cgit v1.2.3