diff --git a/src/backend/base/langflow/api/v1/chat.py b/src/backend/base/langflow/api/v1/chat.py index a4b17c15e99..376a102c66c 100644 --- a/src/backend/base/langflow/api/v1/chat.py +++ b/src/backend/base/langflow/api/v1/chat.py @@ -254,7 +254,7 @@ async def _build_vertex(vertex_id: str, graph: "Graph") -> VertexBuildResponse: 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, diff --git a/src/frontend/src/controllers/API/queries/_builds/use-delete-builds.ts b/src/frontend/src/controllers/API/queries/_builds/use-delete-builds.ts index 7d6fe3bf77a..9ca111171b1 100644 --- a/src/frontend/src/controllers/API/queries/_builds/use-delete-builds.ts +++ b/src/frontend/src/controllers/API/queries/_builds/use-delete-builds.ts @@ -8,7 +8,7 @@ interface IDeleteBuilds { } // add types for error handling and success -export const useDeleteBuilds: useMutationFunctionType = ( +export const useDeleteBuilds: useMutationFunctionType = ( options, ) => { const { mutate } = UseRequestProcessor();