Refactor API index.ts to pass data object as a parameter in getVerticesOrder function
This commit is contained in:
parent
84dc98db4b
commit
48ec18b6e5
1 changed files with 1 additions and 1 deletions
|
|
@ -923,7 +923,7 @@ export async function getVerticesOrder(
|
|||
data["nodes"] = nodes
|
||||
data["edges"] = Edges
|
||||
}
|
||||
return await api.post(`${BASE_URL_API}build/${flowId}/vertices`,data, config);
|
||||
return await api.post(`${BASE_URL_API}build/${flowId}/vertices`,{data}, config);
|
||||
}
|
||||
|
||||
export async function postBuildVertex(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue