Montify settings: send empty JSON body on sync (fix 400 null body)
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user