fix: unnecessary split method in vertex_id that breaks playground (#3182)
* fix: wrong type * fix: update build_flow to remove unnecessary split method in vertex_id
This commit is contained in:
parent
bb1bc5c2df
commit
902cab2686
2 changed files with 2 additions and 2 deletions
|
|
@ -254,7 +254,7 @@ async def build_flow(
|
||||||
background_tasks.add_task(
|
background_tasks.add_task(
|
||||||
log_vertex_build,
|
log_vertex_build,
|
||||||
flow_id=flow_id_str,
|
flow_id=flow_id_str,
|
||||||
vertex_id=vertex_id.split("-")[0],
|
vertex_id=vertex_id,
|
||||||
valid=valid,
|
valid=valid,
|
||||||
params=params,
|
params=params,
|
||||||
data=result_data_response,
|
data=result_data_response,
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ interface IDeleteBuilds {
|
||||||
}
|
}
|
||||||
|
|
||||||
// add types for error handling and success
|
// add types for error handling and success
|
||||||
export const useDeleteBuilds: useMutationFunctionType<IDeleteBuilds> = (
|
export const useDeleteBuilds: useMutationFunctionType<undefined,IDeleteBuilds> = (
|
||||||
options,
|
options,
|
||||||
) => {
|
) => {
|
||||||
const { mutate } = UseRequestProcessor();
|
const { mutate } = UseRequestProcessor();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue