Montify settings: send empty JSON body on sync (fix 400 null body)

This commit is contained in:
2026-10-10 16:35:23 +03:30
parent f27b4c264a
commit 37157620e2
+1 -1
View File
@@ -166,7 +166,7 @@ function sync(c: MontifyConnectionDto, mode: 'incremental' | 'full') {
return;
}
return run(c.id, async () => {
await api.post(`/integrations/montify/connections/${c.id}/sync`, null, { params: { mode } });
await api.post(`/integrations/montify/connections/${c.id}/sync`, {}, { params: { mode } });
ok.value = 'همگام‌سازی در پس‌زمینه شروع شد.';
await load(true);
});