fix(pipeline): correct API endpoint for stopping workflow runs

This commit is contained in:
twwu
2025-09-04 10:39:23 +08:00
parent 647af6fc69
commit c40dfe7060

View File

@@ -289,7 +289,7 @@ export const usePipelineRun = () => {
const handleStopRun = useCallback((taskId: string) => {
const { pipelineId } = workflowStore.getState()
stopWorkflowRun(`/rag/pipeline/${pipelineId}/workflow-runs/tasks/${taskId}/stop`)
stopWorkflowRun(`/rag/pipelines/${pipelineId}/workflow-runs/tasks/${taskId}/stop`)
}, [workflowStore])
const handleRestoreFromPublishedWorkflow = useCallback((publishedWorkflow: VersionHistory) => {