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:
anovazzi1 2024-08-05 19:59:24 -03:00 • committed by GitHub
commit 902cab2686
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -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,

View file

@ -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();