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(
|
||||
log_vertex_build,
|
||||
flow_id=flow_id_str,
|
||||
vertex_id=vertex_id.split("-")[0],
|
||||
vertex_id=vertex_id,
|
||||
valid=valid,
|
||||
params=params,
|
||||
data=result_data_response,
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ interface IDeleteBuilds {
|
|||
}
|
||||
|
||||
// add types for error handling and success
|
||||
export const useDeleteBuilds: useMutationFunctionType<IDeleteBuilds> = (
|
||||
export const useDeleteBuilds: useMutationFunctionType<undefined,IDeleteBuilds> = (
|
||||
options,
|
||||
) => {
|
||||
const { mutate } = UseRequestProcessor();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue