From be917f8fb7ccb1841ff478fae0c7b6b8286519f0 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 1 Jul 2026 13:02:49 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20remove=20JSON.stringify=20em=20updates?= =?UTF-8?q?=20do=20sb=5Fatualizar=5Ffechamento=20=E2=80=94=20Rust=20espera?= =?UTF-8?q?=20objeto=20JS,=20n=C3=A3o=20string?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.html b/src/index.html index 61a899e..1060230 100644 --- a/src/index.html +++ b/src/index.html @@ -3076,7 +3076,7 @@ window.salvarEdicaoModal = async function() { console.log('[DEBUG] salvarEdicaoModal id_fechamento:', id_fechamento, 'updates:', JSON.stringify(updates)); console.log('[DEBUG] invoking sb_atualizar_fechamento...'); - const result = await window.__TAURI__.core.invoke('sb_atualizar_fechamento', { id_fechamento, updates: JSON.stringify(updates) }); + const result = await window.__TAURI__.core.invoke('sb_atualizar_fechamento', { id_fechamento, updates }); console.log('[DEBUG] invoke result:', result); closeEditModal(); closeRelatorioModal();