correction de l'update du
workflow
This commit is contained in:
@@ -73,6 +73,13 @@ const api = {
|
||||
method: 'DELETE',
|
||||
});
|
||||
},
|
||||
|
||||
async syncWorkflow(id: string, data: { nodes: any[]; connections: any[] }) {
|
||||
return api.request(`/projects/${id}/workflow`, {
|
||||
method: 'PUT',
|
||||
body: JSON.stringify(data),
|
||||
});
|
||||
},
|
||||
},
|
||||
|
||||
// --- CHAPTERS ---
|
||||
|
||||
Reference in New Issue
Block a user